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:
Mitchell Stokes
2012-12-29 10:22:19 +00:00
parent 7d6ea8cddf
commit 18f134304c
7 changed files with 30 additions and 0 deletions

View File

@@ -3755,6 +3755,12 @@ Types
:type: int
.. attribute:: jumpCount
The current jump count. 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.
:type: int
.. method:: jump()
The character jumps based on it's jump speed.