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:
Diffstat (limited to 'source/gameengine/Ketsji/BL_Action.h')
-rw-r--r--source/gameengine/Ketsji/BL_Action.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/source/gameengine/Ketsji/BL_Action.h b/source/gameengine/Ketsji/BL_Action.h
index f7d0feb20af..1eb4483eb37 100644
--- a/source/gameengine/Ketsji/BL_Action.h
+++ b/source/gameengine/Ketsji/BL_Action.h
@@ -64,16 +64,17 @@ private:
void InitIPO();
void SetLocalTime(float curtime);
public:
- BL_Action(class KX_GameObject* gameobj,
- const char* name,
+ BL_Action(class KX_GameObject* gameobj);
+ ~BL_Action();
+
+ void Play(const char* name,
float start,
float end,
float blendin,
short play_mode,
short blend_mode,
float playback_speed);
- ~BL_Action();
-
+ void Stop();
bool IsDone() {return m_done;}
void Update(float curtime);