Very lightweight class that identifies a button (keyboard, mouse or other device). More...
Public Member Functions | |
| Button (unsigned id) | |
| For internal use. More... | |
| unsigned | id () const |
| For internal use. More... | |
| Button () | |
| Default constructor; == noButton. More... | |
| Button (ButtonName name) | |
| Conversion from ButtonName constants. More... | |
Very lightweight class that identifies a button (keyboard, mouse or other device).
|
explicit |
| Gosu::Button::Button | ( | ButtonName | name | ) |
| unsigned Gosu::Button::id | ( | ) | const |
For internal use.
Definition at line 37 of file Input.hpp.
Referenced by Gosu::operator<(), and Gosu::operator==().