C4 Engine Terathon Software C4 Engine API Documentation

• Controller System

API Links
Developer Links

Controller::Wake

Defined in:  C4Controller.h
Wakes a sleeping controller.
Prototype

virtual void Wake(void);

Description
The Wake function wakes a controller that was previously placed in the sleeping state by the Controller::Sleep function. The Controller::Move function is called only for controllers that are currently in the non-sleeping state.

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

Controller::Sleep

Controller::Move