Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/gameengine/PyDoc/KX_GameObject.py')
-rw-r--r--source/gameengine/PyDoc/KX_GameObject.py25
1 files changed, 22 insertions, 3 deletions
diff --git a/source/gameengine/PyDoc/KX_GameObject.py b/source/gameengine/PyDoc/KX_GameObject.py
index 12a395287b0..a8d37cbbe53 100644
--- a/source/gameengine/PyDoc/KX_GameObject.py
+++ b/source/gameengine/PyDoc/KX_GameObject.py
@@ -1,7 +1,13 @@
# $Id$
# Documentation for game objects
-class KX_GameObject:
+# from SCA_IObject import *
+from SCA_ISensor import *
+from SCA_IController import *
+from SCA_IActuator import *
+
+
+class KX_GameObject: # (SCA_IObject)
"""
All game objects are derived from this class.
@@ -26,9 +32,22 @@ class KX_GameObject:
@type timeOffset: float
@ivar state: the game object's state bitmask.
@type state: int
- @ivar meshes: a list of L{KX_MeshProxy} objects.
+ @ivar meshes: a list meshes for this object.
+ B{Note}: Most objects use only 1 mesh.
+ B{Note}: Changes to this list will not update the KX_GameObject.
+ @type meshes: list of L{KX_MeshProxy}
+ @ivar sensors: a list of L{SCA_ISensor} objects.
+ B{Note}: This attribute is experemental and may be removed (but probably wont be).
+ B{Note}: Changes to this list will not update the KX_GameObject
+ @type sensors: list of L{SCA_ISensor}
+ @ivar controllers: a list of L{SCA_ISensor} objects.
+ B{Note}: This attribute is experemental and may be removed (but probably wont be).
+ B{Note}: Changes to this list will not update the KX_GameObject
+ @type controllers: list of L{SCA_IController}
+ @ivar the actuators assigned to this object.
+ B{Note}: This attribute is experemental and may be removed (but probably wont be).
B{Note}: Changes to this list will not update the KX_GameObject
- @type meshes: list
+ @type actuators: a list of L{SCA_IActuator}
"""
def endObject(visible):
"""