diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-06-27 15:35:55 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-06-27 15:35:55 +0400 |
commit | f0a3cbcdac4c7f84daef7c33e858a10277400a5f (patch) | |
tree | 29f78ca1043a106bca0230f895dab7ace4f81c30 /source/gameengine/PyDoc | |
parent | a8f00246bae68a08562832fbb010ff674e293599 (diff) |
patch [#15865] BGE API call to delete objects
from Dalai Felinto (dfelinto)
renamed deleteObject to endObject() to match the user interface.
Diffstat (limited to 'source/gameengine/PyDoc')
-rw-r--r-- | source/gameengine/PyDoc/KX_GameObject.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/gameengine/PyDoc/KX_GameObject.py b/source/gameengine/PyDoc/KX_GameObject.py index 572ac2d42ae..f971a7f5f54 100644 --- a/source/gameengine/PyDoc/KX_GameObject.py +++ b/source/gameengine/PyDoc/KX_GameObject.py @@ -25,6 +25,11 @@ class KX_GameObject: @ivar timeOffset: adjust the slowparent delay at runtime. @type timeOffset: float """ + def endObject(visible): + """ + Delete this object, can be used inpace of the EndObject Actuator. + The actual removal of the object from the scene is delayed. + """ def getVisible(visible): """ Gets the game object's visible flag. |