RenderTools::KeyboardEvent Class Reference

#include <KeyboardEvent.h>

List of all members.

Public Types

enum  Type { KEY_UP, KEY_DOWN }

Public Member Functions

 KeyboardEvent (Type type, int key)
Type getType (void) const
int getKey (void) const
bool getState (void) const


Detailed Description

Definition at line 8 of file KeyboardEvent.h.


Member Enumeration Documentation

Enumerator:
KEY_UP 
KEY_DOWN 

Definition at line 10 of file KeyboardEvent.h.


Constructor & Destructor Documentation

RenderTools::KeyboardEvent::KeyboardEvent ( Type  type,
int  key 
)

Definition at line 6 of file KeyboardEvent.cpp.


Member Function Documentation

int RenderTools::KeyboardEvent::getKey ( void   )  const

Definition at line 18 of file KeyboardEvent.cpp.

bool RenderTools::KeyboardEvent::getState ( void   )  const

Definition at line 22 of file KeyboardEvent.cpp.

KeyboardEvent::Type RenderTools::KeyboardEvent::getType ( void   )  const

Definition at line 14 of file KeyboardEvent.cpp.


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

Generated on Wed Jan 26 00:15:36 2011 for RenderTools by  doxygen 1.5.8