diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2011-06-11 04:14:47 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2011-06-11 04:14:47 +0400 |
commit | c431863312bd839a4b97d7939434a1f8bc8eb9fc (patch) | |
tree | a0d1dce68acdcd39e397f4eba8125d01fcd21565 /source/gameengine/Ketsji/BL_ActionManager.h | |
parent | 9d5f436d7591a1199cee13bb5b20010edfe003d2 (diff) |
BGE Animations:
* Adding BL_Action::Play() and BL_Action::Stop()
* Making BL_ActonManger reuse BL_Actions instead of recreating them all the time
* Making the Property play type work for the Action actuator.
Diffstat (limited to 'source/gameengine/Ketsji/BL_ActionManager.h')
-rw-r--r-- | source/gameengine/Ketsji/BL_ActionManager.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/gameengine/Ketsji/BL_ActionManager.h b/source/gameengine/Ketsji/BL_ActionManager.h index 32e6ce82a76..b769db02bf9 100644 --- a/source/gameengine/Ketsji/BL_ActionManager.h +++ b/source/gameengine/Ketsji/BL_ActionManager.h @@ -39,11 +39,10 @@ private: BL_Action* m_layers[MAX_ACTION_LAYERS]; public: - BL_ActionManager(); + BL_ActionManager(class KX_GameObject* obj); ~BL_ActionManager(); - void PlayAction(class KX_GameObject* gameobj, - const char* name, + void PlayAction(const char* name, float start, float end, short layer=0, |