UGDK  0.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ugdk::input::InputManager Class Reference

#include <ugdk/input/inputmanager.h>

Public Member Functions

 InputManager ()
 
 ~InputManager ()
 
void Update (double)
 
Vector2D GetMousePosition (void)
 
void ShowCursor (bool toggle)
 
bool KeyPressed (Key key)
 
bool KeyReleased (Key key)
 
bool KeyDown (Key key)
 
bool KeyUp (Key key)
 
bool MousePressed (MouseButton button)
 
bool MouseReleased (MouseButton button)
 
bool MouseDown (MouseButton button)
 
bool MouseUp (MouseButton button)
 
bool CheckSequence (Key *sequence, int size)
 
void SimulateKeyPress (Key key)
 
void SimulateKeyRelease (Key key)
 

Constructor & Destructor Documentation

ugdk::input::InputManager::InputManager ( )
ugdk::input::InputManager::~InputManager ( )

Member Function Documentation

bool ugdk::input::InputManager::CheckSequence ( Key sequence,
int  size 
)
Vector2D ugdk::input::InputManager::GetMousePosition ( void  )
bool ugdk::input::InputManager::KeyDown ( Key  key)
bool ugdk::input::InputManager::KeyPressed ( Key  key)
bool ugdk::input::InputManager::KeyReleased ( Key  key)
bool ugdk::input::InputManager::KeyUp ( Key  key)
bool ugdk::input::InputManager::MouseDown ( MouseButton  button)
bool ugdk::input::InputManager::MousePressed ( MouseButton  button)
bool ugdk::input::InputManager::MouseReleased ( MouseButton  button)
bool ugdk::input::InputManager::MouseUp ( MouseButton  button)
void ugdk::input::InputManager::ShowCursor ( bool  toggle)
void ugdk::input::InputManager::SimulateKeyPress ( Key  key)
void ugdk::input::InputManager::SimulateKeyRelease ( Key  key)
void ugdk::input::InputManager::Update ( double  delta_t)

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