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)
unsigned getId () const
 Button ()
 Button (ButtonName name)


Detailed Description

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

Constructor & Destructor Documentation

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

For internal use.

Gosu::Button::Button (  )  [inline]

Default constructor; == noButton.

Gosu::Button::Button ( ButtonName  name  )  [inline]

Conversion from ButtonName constants.


Member Function Documentation

unsigned Gosu::Button::getId (  )  const [inline]

For internal use.

Referenced by Gosu::operator==().


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

Generated on Fri Sep 12 21:50:23 2008 for Gosu by  doxygen 1.5.5