diff options
Diffstat (limited to 'doc/python_api/rst/bge.types.rst')
-rw-r--r-- | doc/python_api/rst/bge.types.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/python_api/rst/bge.types.rst b/doc/python_api/rst/bge.types.rst index 470e1c56bac..a86272ddf5c 100644 --- a/doc/python_api/rst/bge.types.rst +++ b/doc/python_api/rst/bge.types.rst @@ -3749,6 +3749,18 @@ Types :type: float + .. attribute:: maxJumps + + The maximum number of jumps a character can perform before having to touch the ground. By default this is set to 1. 2 allows for a double jump, etc. + + :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. |