diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-11-22 10:04:12 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-11-22 10:04:12 +0400 |
commit | b7f5c1c121724964c6c2269c05eedd04a78e7a74 (patch) | |
tree | 066c52cda2330e8fe0adb4e8f85c39ba9fc0bbef /doc/python_api/rst/bge.logic.rst | |
parent | 89b0b0516e9e46284f445a33be1887af499c251f (diff) |
more bge reference api docstrings, leaving KX_FontObject and KX_NavMeshObject as TODO.
Diffstat (limited to 'doc/python_api/rst/bge.logic.rst')
-rw-r--r-- | doc/python_api/rst/bge.logic.rst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/python_api/rst/bge.logic.rst b/doc/python_api/rst/bge.logic.rst index b28c9603ef1..95af6cb58a3 100644 --- a/doc/python_api/rst/bge.logic.rst +++ b/doc/python_api/rst/bge.logic.rst @@ -324,6 +324,21 @@ General functions .. warning: Not implimented yet +.. function:: getExitKey() + + Gets the key used to exit the game engine + + :return: The key (defaults to :mod:`bge.events.ESCKEY`) + :rtype: int + +.. function:: setExitKey(key) + + Sets the key used to exit the game engine + + :arg key: A key constant from :mod:`bge.events` + :rtype key: int + + ***************** Utility functions ***************** |