diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2011-07-07 07:53:24 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2011-07-07 07:53:24 +0400 |
commit | 0eacdc94ba7bf51b48c977c3d0fc07ef4f70e384 (patch) | |
tree | 4b5dd400655efbfcfeb755c91c0a8ccd7d96bad3 /source/gameengine/Ketsji/BL_Action.h | |
parent | d00a3c8ddf4f722ae829bbfa025fb09446a8fba3 (diff) |
BGE Animations: Removing unused code and adding some more comments.
Diffstat (limited to 'source/gameengine/Ketsji/BL_Action.h')
-rw-r--r-- | source/gameengine/Ketsji/BL_Action.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/BL_Action.h b/source/gameengine/Ketsji/BL_Action.h index f7c5a811721..14312e158c0 100644 --- a/source/gameengine/Ketsji/BL_Action.h +++ b/source/gameengine/Ketsji/BL_Action.h @@ -21,6 +21,11 @@ * * ***** END GPL LICENSE BLOCK ***** */ + +/** \file BL_Action.h + * \ingroup ketsji + */ + #ifndef __BL_ACTION #define __BL_ACTION @@ -75,6 +80,9 @@ public: BL_Action(class KX_GameObject* gameobj); ~BL_Action(); + /** + * Play an action + */ bool Play(const char* name, float start, float end, @@ -84,8 +92,17 @@ public: float layer_weight, short ipo_flags, float playback_speed); + /** + * Stop playing the action + */ void Stop(); + /** + * Whether or not the action is still playing + */ bool IsDone(); + /** + * Update the action's frame, etc. + */ void Update(float curtime); // Accessors |