Action::HandleEngage
Defined in:
Called when an associated input control is engaged.
C4Input.h
Prototype
virtual void HandleEngage(void);
Description
The HandleEngage
function is called when an input control to which the action object is assigned is engaged by the user. For example, when a key is pressed, a mouse button is clicked, or a button on a joystick is pressed, the HandleEngage
function is called for any action object assigned to the control. When the user releases the control, the Action::HandleDisengage
function is called for the action object.
See Also