diff options
Diffstat (limited to 'source/gameengine/PyDoc/GameTypes.py')
-rw-r--r-- | source/gameengine/PyDoc/GameTypes.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/gameengine/PyDoc/GameTypes.py b/source/gameengine/PyDoc/GameTypes.py index c82623e6409..9c426aed8e0 100644 --- a/source/gameengine/PyDoc/GameTypes.py +++ b/source/gameengine/PyDoc/GameTypes.py @@ -3868,6 +3868,12 @@ class KX_Scene(PyObjectPlus): @rtype: L{KX_GameObject} """ + + def get(key, default=None): + """ + Return the value matching key, or the default value if its not found. + @return: The key value or a default. + """ class KX_SceneActuator(SCA_IActuator): """ |