diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2010-02-11 07:24:58 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2010-02-11 07:24:58 +0300 |
commit | 0119072fc352d9fa6222dbb987d7194ca84fc519 (patch) | |
tree | aee4d1f6bdefa1b54aa08f774487e8e498ab6130 /source/gameengine/PyDoc | |
parent | d65101629dacb5f6760304bea70285826075ae55 (diff) |
BGE API DOC update - scene add/restart/end. patch by Gomer
Diffstat (limited to 'source/gameengine/PyDoc')
-rw-r--r-- | source/gameengine/PyDoc/GameLogic.py | 7 | ||||
-rw-r--r-- | source/gameengine/PyDoc/GameTypes.py | 18 |
2 files changed, 18 insertions, 7 deletions
diff --git a/source/gameengine/PyDoc/GameLogic.py b/source/gameengine/PyDoc/GameLogic.py index a6681bf562d..56a9ea0d4f4 100644 --- a/source/gameengine/PyDoc/GameLogic.py +++ b/source/gameengine/PyDoc/GameLogic.py @@ -361,13 +361,6 @@ def addScene(name, overlay=1): @param body: Overlay or underlay (optional) @type body: int """ -def removeScene(name): - """ - Removes a scene from the game engine. - - @param name: The name of the scene - @type name: string - """ def sendMessage(subject, body="", to="", message_from=""): """ Sends a message to sensors in any active scene. diff --git a/source/gameengine/PyDoc/GameTypes.py b/source/gameengine/PyDoc/GameTypes.py index 61b95e70c0b..cae1b875a1b 100644 --- a/source/gameengine/PyDoc/GameTypes.py +++ b/source/gameengine/PyDoc/GameTypes.py @@ -3878,6 +3878,24 @@ class KX_Scene(PyObjectPlus): @rtype: L{KX_GameObject} """ + + def end(): + """ + Removes the scene from the game. + """ + + def restart(): + """ + Restarts the scene. + """ + + def replace(scene): + """ + Replaces this scene with another one. + + @param scene: The name of the scene to replace this scene with. + @type scene: string + """ def get(key, default=None): """ |