Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Stokes <mogurijin@gmail.com>2011-06-01 09:46:19 +0400
committerMitchell Stokes <mogurijin@gmail.com>2011-06-01 09:46:19 +0400
commit54a37ba8559ef33bb35146c7cfc7dd6b38004d7c (patch)
tree9ad410029b757070764c28e504394440ef965314 /source/gameengine/Ketsji/BL_ActionManager.h
parentb31385f3bd4af4e524fdeb719563dd293a86957c (diff)
BGE Animations: Adding more functions to BL_ActionManager and KX_GameObject:
BL_ActionManager: * IsActionDone(short layer) - Checks to see if the animation on the given layer has finished. KX_GameObject: * PlayAction(...) - Adds an action to the object's action manager * StopAction(short layer) - Remove an action from the object's action manager * IsActionDone(short layer) - Check if an action has finished playing
Diffstat (limited to 'source/gameengine/Ketsji/BL_ActionManager.h')
-rw-r--r--source/gameengine/Ketsji/BL_ActionManager.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/BL_ActionManager.h b/source/gameengine/Ketsji/BL_ActionManager.h
index a57e0e1ce87..4509020926f 100644
--- a/source/gameengine/Ketsji/BL_ActionManager.h
+++ b/source/gameengine/Ketsji/BL_ActionManager.h
@@ -53,6 +53,7 @@ public:
float playback_speed=1.f);
void StopAction(short layer);
+ bool IsActionDone(short layer);
void Update(float);
#ifdef WITH_CXX_GUARDEDALLOC
public: