Gosu::Button Class Reference

Very lightweight class that identifies a button (keyboard, mouse or other device). More...

List of all members.

Public Member Functions

 Button (unsigned id)
 For internal use.
unsigned getId () const
 For internal use.
 Button ()
 Default constructor; == noButton.
 Button (ButtonName name)
 Conversion from ButtonName constants.


Detailed Description

Very lightweight class that identifies a button (keyboard, mouse or other device).

Definition at line 35 of file Input.hpp.


Constructor & Destructor Documentation

Gosu::Button::Button ( unsigned  id  )  [explicit]

For internal use.

Definition at line 41 of file Input.hpp.

Gosu::Button::Button (  ) 

Default constructor; == noButton.

Definition at line 46 of file Input.hpp.

Gosu::Button::Button ( ButtonName  name  ) 

Conversion from ButtonName constants.

Definition at line 49 of file Input.hpp.


Member Function Documentation

unsigned Gosu::Button::getId (  )  const

For internal use.

Definition at line 43 of file Input.hpp.


The documentation for this class was generated from the following file: