From 54a37ba8559ef33bb35146c7cfc7dd6b38004d7c Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Wed, 1 Jun 2011 05:46:19 +0000 Subject: 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 --- source/gameengine/Ketsji/BL_ActionManager.h | 1 + 1 file changed, 1 insertion(+) (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 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: -- cgit v1.2.3