Test5

Undocumented in source.

Constructors

this
this(string[] args)
Undocumented in source.

Members

Functions

axisEvent
void axisEvent(uint id, BindingCode code, uint timestamp, float value)

Called when an axis is being operated. The id should be generated from a string, usually the name of the binding. code is a duplicate of the code used for fast lookup of the binding, which also contains other info (deviceID, etc). timestamp is the time lapsed since the start of the program, can be used to measure time between keypresses. value is the current position of the axis normalized between -1.0 and +1.0 for joysticks, and 0.0 and +1.0 for analog triggers.

controllerAdded
void controllerAdded(uint id)
Undocumented in source. Be warned that the author may not have intended to support it.
controllerRemoved
void controllerRemoved(uint id)
Undocumented in source. Be warned that the author may not have intended to support it.
drawNextText
void drawNextText()
Undocumented in source. Be warned that the author may not have intended to support it.
keyEvent
void keyEvent(uint id, BindingCode code, uint timestamp, bool isPressed)

Called when a keybinding event is generated. The id should be generated from a string, usually the name of the binding. code is a duplicate of the code used for fast lookup of the binding, which also contains other info (deviceID, etc). timestamp is the time lapsed since the start of the program, can be used to measure time between keypresses. NOTE: Hat events on joysticks don't generate keyReleased events, instead they generate keyPressed events on release.

onQuit
void onQuit()
Undocumented in source. Be warned that the author may not have intended to support it.
whereTheMagicHappens
void whereTheMagicHappens()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

availTexts
string[] availTexts;
Undocumented in source.
ih
InputHandler ih;
Undocumented in source.
isRunning
bool isRunning;
Undocumented in source.
output
OutputScreen output;
Undocumented in source.
r
Raster r;
Undocumented in source.
s
SpriteLayer s;
Undocumented in source.
textOutput
BitmapDrawer textOutput;
Undocumented in source.
textPos
int textPos;
Undocumented in source.
txprs
TextParser txprs;
Undocumented in source.

Meta