BGE API DOC update - scene add/restart/end. patch by Gomer

This commit is contained in:
Dalai Felinto
2010-02-11 04:24:58 +00:00
parent d65101629d
commit 0119072fc3
2 changed files with 18 additions and 7 deletions

View File

@@ -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.

View File

@@ -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):
"""