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:
authorMitchell Stokes <mogurijin@gmail.com>2012-12-29 14:22:19 +0400
committerMitchell Stokes <mogurijin@gmail.com>2012-12-29 14:22:19 +0400
commit18f134304c0c6181668a0a8c22289fcaeb472432 (patch)
tree25cba63a2d5b7ccad6e0a8be90c580cf987ed879 /source/gameengine/Physics/common
parent7d6ea8cddf326332679255c4b3dfe89cd4617cc2 (diff)
BGE: Adding a jumpCount to KX_CharacterWrapper. This can be used to have different logic for a single jump versus a double jump. For example, a different animation for the second jump.
Diffstat (limited to 'source/gameengine/Physics/common')
-rw-r--r--source/gameengine/Physics/common/PHY_ICharacter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/gameengine/Physics/common/PHY_ICharacter.h b/source/gameengine/Physics/common/PHY_ICharacter.h
index 92c00949c4d..63f6c0bd18a 100644
--- a/source/gameengine/Physics/common/PHY_ICharacter.h
+++ b/source/gameengine/Physics/common/PHY_ICharacter.h
@@ -25,6 +25,8 @@ public:
virtual int GetMaxJumps()= 0;
virtual void SetMaxJumps(int maxJumps)= 0;
+ virtual int GetJumpCount()= 0;
+
#ifdef WITH_CXX_GUARDEDALLOC
MEM_CXX_CLASS_ALLOC_FUNCS("GE:PHY_ICharacter")
#endif