From 18f134304c0c6181668a0a8c22289fcaeb472432 Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Sat, 29 Dec 2012 10:22:19 +0000 Subject: 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. --- doc/python_api/rst/bge.types.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') 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. -- cgit v1.2.3