diff options
Diffstat (limited to 'src/interface/Engine.h')
| -rw-r--r-- | src/interface/Engine.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/interface/Engine.h b/src/interface/Engine.h index 09fc222..b8f6b73 100644 --- a/src/interface/Engine.h +++ b/src/interface/Engine.h @@ -38,9 +38,11 @@ namespace ui inline bool Running() { return running_; } void Exit(); - void Tick(float dt); + void Tick(); void Draw(); + void SetFps(float fps); + inline int GetMouseX() { return mousex_; } inline int GetMouseY() { return mousey_; } inline int GetWidth() { return width_; } @@ -54,6 +56,8 @@ namespace ui float FpsLimit; Graphics * g; private: + float dt; + float fps; pixel * lastBuffer; std::stack<pixel*> prevBuffers; std::stack<Window*> windows; |
