Move tick time into engine, fixes #139

This commit is contained in:
Simon Robertshaw 2012-08-21 01:24:38 +01:00
parent c9997f8aea
commit e54eeae883

View File

@ -36,6 +36,8 @@ namespace ui
void Begin(int width, int height);
inline bool Running() { return running_; }
inline bool Broken() { return break_; }
inline int LastTick() { return lastTick; }
inline void LastTick(int tick) { lastTick = tick; }
void Exit();
void Break();
void UnBreak();
@ -81,6 +83,7 @@ namespace ui
bool running_;
bool break_;
int lastTick;
int mousex_;
int mousey_;
int mousexp_;