Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

SCA_IObject Class Reference

#include <SCA_IObject.h>

Inheritance diagram for SCA_IObject:

CValue PyObjectPlus PyObject KX_GameObject KX_Camera KX_EmptyObject KX_LightObject List of all members.

Public Methods

 SCA_IObject (PyTypeObject* T=&Type)
virtual ~SCA_IObject ()
SCA_ControllerListGetControllers ()
SCA_SensorListGetSensors ()
SCA_ActuatorListGetActuators ()
void AddSensor (SCA_ISensor* act)
void AddController (SCA_IController* act)
void AddActuator (SCA_IActuator* act)
SCA_ISensorFindSensor (const CCString& sensorname)
SCA_IActuatorFindActuator (const CCString& actuatorname)
SCA_IControllerFindController (const CCString& controllername)
void SetCurrentTime (float currentTime)
void ReParentLogic ()
virtual void setLinearVelocity (const class MT_Vector3& lin_vel,bool local) = 0
virtual void setAngularVelocity (const class MT_Vector3& ang_vel,bool local) = 0
PyObject_getattr (char* attr)

Protected Attributes

SCA_SensorList m_sensors
SCA_ControllerList m_controllers
SCA_ActuatorList m_actuators

Constructor & Destructor Documentation

SCA_IObject::SCA_IObject ( PyTypeObject * T = &Type ) [inline]
 

Definition at line 35 of file SCA_IObject.h.

SCA_IObject::~SCA_IObject ( ) [virtual]
 

Definition at line 45 of file SCA_IObject.cpp.


Member Function Documentation

void SCA_IObject::AddActuator ( SCA_IActuator * act ) [inline]
 

Definition at line 47 of file SCA_IObject.h.

Referenced by BL_ConvertActuators().

void SCA_IObject::AddController ( SCA_IController * act ) [inline]
 

Definition at line 46 of file SCA_IObject.h.

void SCA_IObject::AddSensor ( SCA_ISensor * act ) [inline]
 

Definition at line 45 of file SCA_IObject.h.

SCA_IActuator * SCA_IObject::FindActuator ( const CCString & actuatorname )
 

Definition at line 139 of file SCA_IObject.cpp.

Referenced by KX_Scene::ReplicateLogic().

SCA_IController * SCA_IObject::FindController ( const CCString & controllername )
 

Definition at line 124 of file SCA_IObject.cpp.

SCA_ISensor * SCA_IObject::FindSensor ( const CCString & sensorname )
 

Definition at line 108 of file SCA_IObject.cpp.

Referenced by KX_Scene::ReplicateLogic().

SCA_ActuatorList & SCA_IObject::GetActuators ( ) [inline]
 

Definition at line 43 of file SCA_IObject.h.

Referenced by ReParentLogic(), and KX_Scene::ReplicateLogic().

SCA_ControllerList & SCA_IObject::GetControllers ( ) [inline]
 

Definition at line 41 of file SCA_IObject.h.

Referenced by ReParentLogic(), and KX_Scene::ReplicateLogic().

SCA_SensorList & SCA_IObject::GetSensors ( ) [inline]
 

Definition at line 42 of file SCA_IObject.h.

Referenced by KX_Scene::NewRemoveObject(), ReParentLogic(), and KX_Scene::ReplicateLogic().

void SCA_IObject::ReParentLogic ( )
 

Definition at line 71 of file SCA_IObject.cpp.

Referenced by KX_Scene::ReplicateLogic().

void SCA_IObject::SetCurrentTime ( float currentTime )
 

Definition at line 156 of file SCA_IObject.cpp.

PyObject * SCA_IObject::_getattr ( char * attr ) [virtual]
 

Reimplemented from CValue.

Reimplemented in KX_GameObject.

Definition at line 66 of file SCA_IObject.cpp.

virtual void SCA_IObject::setAngularVelocity ( const class MT_Vector3 & ang_vel,
bool local ) [pure virtual]
 

virtual void SCA_IObject::setLinearVelocity ( const class MT_Vector3 & lin_vel,
bool local ) [pure virtual]
 

Referenced by SCA_AddObjectActuator::Update().


Member Data Documentation

SCA_ActuatorList SCA_IObject::m_actuators [protected]
 

Definition at line 32 of file SCA_IObject.h.

SCA_ControllerList SCA_IObject::m_controllers [protected]
 

Definition at line 31 of file SCA_IObject.h.

SCA_SensorList SCA_IObject::m_sensors [protected]
 

Definition at line 30 of file SCA_IObject.h.


The documentation for this class was generated from the following files:
Generated at Thu Feb 1 13:03:54 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000