Controller::GetControllerFlags
Defined in:
Returns the controller flags.
C4Controller.h
Prototype
uint32 GetControllerFlags(void) const;
Description
The GetControllerFlags
function returns the controller flags, which can be a combination (through logical OR) of the following constants.
kControllerUpdate |
The controller needs to be updated (read-only flag). |
kControllerAsleep |
The controller is asleep, and thus its MoveController function is not called (read-only flag).
|
kControllerLocal |
The controller operates autonomously and does receive messages from remote machines. |
kControllerMoveInhibit |
The controller's MoveController function is never called, even if the controller is awake.
|
kControllerPhysicsSimulation |
The controller is a global physics simulation controller. This should be set only by a Controller subclass that acts as the main interface between the engine and a physics library, and it indicates to the World Manager that the controller should be given special treatment as the sole physics controller in a world.
|
See Also