CL_InputButton_Group3
Cl_inputbutton container class.
Overview
Groups a set of buttons - if either of them are down, CL_InputButton_Groups is down.
Inherited from public CL_InputButton
Class members
- void
add( -
CL_InputButton *add_button)
- void
remove( -
CL_InputButton *remove_button)
- virtual bool
is_pressed()
Members with descriptions
- void
add( -
CL_InputButton *add_button)
Parameters: add_button - Button to be added.
Description:
Adds a input button to the group.
- void
remove( -
CL_InputButton *remove_button)
Parameters: remove_button - Button to be removed.
Description:
Removes a (previously added) button from the group.
- virtual bool
is_pressed() -
Description:
Returns true if just one of the buttons in the button group is down; false otherwise.
Return value:
True if pressed, false otherwise.