diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2012-12-29 14:22:19 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2012-12-29 14:22:19 +0400 |
commit | 18f134304c0c6181668a0a8c22289fcaeb472432 (patch) | |
tree | 25cba63a2d5b7ccad6e0a8be90c580cf987ed879 /doc | |
parent | 7d6ea8cddf326332679255c4b3dfe89cd4617cc2 (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 'doc')
-rw-r--r-- | doc/python_api/rst/bge.types.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/python_api/rst/bge.types.rst b/doc/python_api/rst/bge.types.rst index ae03debb4f8..a86272ddf5c 100644 --- a/doc/python_api/rst/bge.types.rst +++ b/doc/python_api/rst/bge.types.rst @@ -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. |