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.
This commit is contained in:
@@ -412,6 +412,8 @@ public:
|
||||
|
||||
void setMaxJumps(int maxJumps);
|
||||
|
||||
int getJumpCount() const;
|
||||
|
||||
virtual bool canJump() const;
|
||||
|
||||
virtual void jump();
|
||||
|
Reference in New Issue
Block a user