Game

Undocumented in source.

Members

Functions

generateLevel
void generateLevel(uint )
Undocumented in source. Be warned that the author may not have intended to support it.
init
void init(int w, int h)
Undocumented in source. Be warned that the author may not have intended to support it.
loadLevel
void loadLevel()
Undocumented in source. Be warned that the author may not have intended to support it.
loadNextLevel
void loadNextLevel()
Undocumented in source. Be warned that the author may not have intended to support it.
onMousemove
void onMousemove(MouseEvent* event)
Undocumented in source. Be warned that the author may not have intended to support it.
processKey
void processKey(Input key, bool pressed)
Undocumented in source. Be warned that the author may not have intended to support it.
textureLoaded
void textureLoaded(Handle image)
Undocumented in source. Be warned that the author may not have intended to support it.
tick
void tick(uint time_now)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

canvas
Canvas* canvas;
Undocumented in source.
context
WebGLRenderingContext context;
Undocumented in source.
finished
bool finished;
height
int height;
Undocumented in source.
input
Input input;
Undocumented in source.
level
Level level;
Undocumented in source.
mouseX
int mouseX;
mouseY
int mouseY;
Undocumented in source.
renderer
Renderer renderer;
Undocumented in source.
running
bool running;
Undocumented in source.
time_last
uint time_last;
Undocumented in source.
width
int width;
Undocumented in source.

Meta