[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [26796] trunk/blender/source/gameengine/ PyDoc: BGE API DOC update - scene add/restart/end.

Dalai Felinto dfelinto at gmail.com
Thu Feb 11 05:24:59 CET 2010


Revision: 26796
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=26796
Author:   dfelinto
Date:     2010-02-11 05:24:58 +0100 (Thu, 11 Feb 2010)

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

Modified Paths:
--------------
    trunk/blender/source/gameengine/PyDoc/GameLogic.py
    trunk/blender/source/gameengine/PyDoc/GameTypes.py

Modified: trunk/blender/source/gameengine/PyDoc/GameLogic.py
===================================================================
--- trunk/blender/source/gameengine/PyDoc/GameLogic.py	2010-02-11 03:37:51 UTC (rev 26795)
+++ trunk/blender/source/gameengine/PyDoc/GameLogic.py	2010-02-11 04:24:58 UTC (rev 26796)
@@ -361,13 +361,6 @@
 	@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.

Modified: trunk/blender/source/gameengine/PyDoc/GameTypes.py
===================================================================
--- trunk/blender/source/gameengine/PyDoc/GameTypes.py	2010-02-11 03:37:51 UTC (rev 26795)
+++ trunk/blender/source/gameengine/PyDoc/GameTypes.py	2010-02-11 04:24:58 UTC (rev 26796)
@@ -3878,6 +3878,24 @@
 		
 		@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):
 		"""





More information about the Bf-blender-cvs mailing list