EventManager

Undocumented in source.

Constructors

this
this(uint winWidth, uint winHeight)
Undocumented in source.

Members

Functions

addEvent
void addEvent(Event e)
Undocumented in source. Be warned that the author may not have intended to support it.
addUserEvent
void addUserEvent(Event e)
Undocumented in source. Be warned that the author may not have intended to support it.
generateUserEvent
void generateUserEvent(int code)
Undocumented in source. Be warned that the author may not have intended to support it.
setMouse
void setMouse(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
setMouseToCenter
void setMouseToCenter()
Undocumented in source. Be warned that the author may not have intended to support it.
showCursor
void showCursor(bool mode)
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.
updateTimer
void updateTimer()
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

maxNumEvents
enum maxNumEvents;
Undocumented in source.

Variables

averageDelta
double averageDelta;
Undocumented in source.
deltaTime
double deltaTime;
Undocumented in source.
deltaTimeMs
uint deltaTimeMs;
Undocumented in source.
eventStack
Event[maxNumEvents] eventStack;
Undocumented in source.
fps
int fps;
Undocumented in source.
keyPressed
bool[512] keyPressed;
Undocumented in source.
mouseButtonPressed
bool[255] mouseButtonPressed;
Undocumented in source.
mouseX
int mouseX;
Undocumented in source.
mouseY
int mouseY;
Undocumented in source.
numEvents
uint numEvents;
Undocumented in source.
numUserEvents
uint numUserEvents;
Undocumented in source.
running
bool running;
Undocumented in source.
userEventStack
Event[maxNumEvents] userEventStack;
Undocumented in source.
videoHeight
uint videoHeight;
Undocumented in source.
videoWidth
uint videoWidth;
Undocumented in source.
windowFocused
bool windowFocused;
Undocumented in source.
windowHeight
uint windowHeight;
Undocumented in source.
windowWidth
uint windowWidth;
Undocumented in source.

Meta