BGE API DOC update - scene add/restart/end. patch by Gomer
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user