C4 Engine
C4 Engine API Documentation

Controller::SleepController

Defined in:  C4Controller.h
Puts a controller to sleep.
Prototype

virtual void SleepController(void);

Description
The SleepController function puts a controller to sleep so that it receives no processing time. The Controller::MoveController function is not called for controllers that are currently in the sleeping state. A controller can be returned to the non-sleeping state by calling the Controller::WakeController function.

Any override of the Sleep function should always call the base class counterpart.
See Also

Controller::WakeController

Controller::MoveController