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/Ketsji/KX_GameObject.h | |
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/Ketsji/KX_GameObject.h')
-rw-r--r-- | source/gameengine/Ketsji/KX_GameObject.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_GameObject.h b/source/gameengine/Ketsji/KX_GameObject.h index 796cb4a161f..682b339bf62 100644 --- a/source/gameengine/Ketsji/KX_GameObject.h +++ b/source/gameengine/Ketsji/KX_GameObject.h @@ -710,7 +710,7 @@ public: PyObject* args, PyObject* kwds ); - + KX_PYMETHOD(KX_GameObject,GetPosition); KX_PYMETHOD(KX_GameObject,GetLinearVelocity); KX_PYMETHOD(KX_GameObject,GetVelocity); @@ -733,6 +733,7 @@ public: KX_PYMETHOD(KX_GameObject,RemoveParent); KX_PYMETHOD(KX_GameObject,GetPhysicsId); KX_PYMETHOD(KX_GameObject,GetPropertyNames); + KX_PYMETHOD(KX_GameObject,EndObject); KX_PYMETHOD_DOC(KX_GameObject,rayCastTo); KX_PYMETHOD_DOC(KX_GameObject,rayCast); KX_PYMETHOD_DOC(KX_GameObject,getDistanceTo); |