- fpsCounter
void fpsCounter()
Undocumented in source. Be warned that the author may not have intended to support it.
- fromSDLEvent
void fromSDLEvent(T event)
////////////////////////////////////
/ Events check implementations /////
////////////////////////////////////
- getFrameTimeMsecs
long getFrameTimeMsecs()
Undocumented in source. Be warned that the author may not have intended to support it.
- initialzie
void initialzie()
Undocumented in source. Be warned that the author may not have intended to support it.
- keyDown
bool keyDown(short k)
Undocumented in source. Be warned that the author may not have intended to support it.
- keyDown
bool keyDown(Key k)
Undocumented in source. Be warned that the author may not have intended to support it.
- keyPressed
bool keyPressed(short k)
Undocumented in source. Be warned that the author may not have intended to support it.
- keyPressed
bool keyPressed(Key k)
Undocumented in source. Be warned that the author may not have intended to support it.
- keyReleased
bool keyReleased(short k)
Undocumented in source. Be warned that the author may not have intended to support it.
- keyReleased
bool keyReleased(Key k)
Undocumented in source. Be warned that the author may not have intended to support it.
- mouseButtonDown
bool mouseButtonDown(MouseButton b)
Undocumented in source. Be warned that the author may not have intended to support it.
- mouseButtonPressed
bool mouseButtonPressed(MouseButton b)
Undocumented in source. Be warned that the author may not have intended to support it.
- mouseButtonReleased
bool mouseButtonReleased(MouseButton b)
Undocumented in source. Be warned that the author may not have intended to support it.
- mousePos
int[2] mousePos()
Undocumented in source. Be warned that the author may not have intended to support it.
- mouseWheel
int[2] mouseWheel()
Undocumented in source. Be warned that the author may not have intended to support it.
- reset
void reset()
Undocumented in source. Be warned that the author may not have intended to support it.
- update
void update()
Undocumented in source. Be warned that the author may not have intended to support it.
Struct to store simple controller event states, like pressed, down, released. Supports keyboard and mouse. Additionaly this object calculates fps.