Game

Undocumented in source.

Constructors

this
this(string dataDir_)
Undocumented in source.

Members

Functions

draw
void draw()
Undocumented in source. Be warned that the author may not have intended to support it.
drawDebug
void drawDebug()
Undocumented in source. Be warned that the author may not have intended to support it.
handleEvents
void handleEvents()
Undocumented in source. Be warned that the author may not have intended to support it.
run
void run()
Undocumented in source. Be warned that the author may not have intended to support it.
shutdown
void shutdown()
Undocumented in source. Be warned that the author may not have intended to support it.
startup
void startup()
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update(float dt)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

apples
AppleEntity[] apples;
Undocumented in source.
dataDir
string dataDir;
Undocumented in source.
debugText
Text debugText;
Undocumented in source.
doDrawDebug
bool doDrawDebug;
Undocumented in source.
doMove
bool doMove;
drawtime
float drawtime;
Undocumented in source.
dt
float dt;
Undocumented in source.
elementTimer
Clock elementTimer;
eventTimer
float eventTimer;
Undocumented in source.
gameTick
Clock gameTick;
Undocumented in source.
map
GameMap map;
Undocumented in source.
running
bool running;
Undocumented in source.
snake
Snake snake;
Undocumented in source.
systemFont
Font systemFont;
updateTimer
float updateTimer;
Undocumented in source.
win
RenderWindow win;
Undocumented in source.

Meta