cObjectController Class Reference

autopilot, etc More...

#include <objectcontroller.h>

Inheritance diagram for cObjectController:

Inheritance graph
[legend]
Collaboration diagram for cObjectController:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cObjectController ()
virtual ~cObjectController ()
void SetTarget (cObjectContollerTarget *pTarget)
void Lock ()
 miControlledObjectCount++
void Release ()
 miControlledObjectCount--
void Step (cObject *pObj)

Static Public Member Functions

static void LuaRegister (lua_State *L)
 lua binding

Public Attributes

cObjectContollerTargetmpApproachTarget
float mfApproachMinDist
float mfMaxAccel
float mfMaxSpeed
bool mbStupid

Private Attributes

int miControlledObjectCount
 mainly for debugging


Detailed Description

autopilot, etc

Definition at line 52 of file objectcontroller.h.


Constructor & Destructor Documentation

cObjectController::cObjectController (  ) 

Definition at line 35 of file objectcontroller.cpp.

cObjectController::~cObjectController (  )  [virtual]

Definition at line 37 of file objectcontroller.cpp.

References assert, miControlledObjectCount, and mpApproachTarget.


Member Function Documentation

void cObjectController::SetTarget ( cObjectContollerTarget pTarget  ) 

void cObjectController::Lock (  ) 

miControlledObjectCount++

Definition at line 43 of file objectcontroller.cpp.

References miControlledObjectCount.

Referenced by cObject::SetController().

void cObjectController::Release (  ) 

miControlledObjectCount--

Definition at line 44 of file objectcontroller.cpp.

References assert, and miControlledObjectCount.

Referenced by cObject::SetController().

void cObjectController::Step ( cObject pObj  ) 

void cObjectController::LuaRegister ( lua_State *  L  )  [static]

lua binding

Definition at line 127 of file objectcontroller_L.cpp.

References PROFILE.

Referenced by SFZ_RegisterLuaPlugin().


Member Data Documentation

Definition at line 53 of file objectcontroller.h.

Referenced by SetTarget(), Step(), and ~cObjectController().

Definition at line 54 of file objectcontroller.h.

Referenced by Step().

Definition at line 55 of file objectcontroller.h.

Referenced by Step().

Definition at line 56 of file objectcontroller.h.

Definition at line 57 of file objectcontroller.h.

Referenced by Step().

mainly for debugging

Definition at line 74 of file objectcontroller.h.

Referenced by Lock(), Release(), and ~cObjectController().


The documentation for this class was generated from the following files:

Generated on Wed Feb 8 06:00:16 2012 for cpp by  doxygen 1.5.6