From c431863312bd839a4b97d7939434a1f8bc8eb9fc Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Sat, 11 Jun 2011 00:14:47 +0000 Subject: 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. --- source/gameengine/Ketsji/BL_ActionManager.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source/gameengine/Ketsji/BL_ActionManager.h') 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, -- cgit v1.2.3