Check in... animations are roughly half built
This commit is contained in:
parent
47e823d5b9
commit
d74635ee4e
8 changed files with 167 additions and 52 deletions
|
|
@ -17,6 +17,8 @@ class GameEngine
|
|||
bool paused = false;
|
||||
int currentFrame = 0;
|
||||
sf::View visible;
|
||||
sf::Clock clock;
|
||||
float frameTime;
|
||||
|
||||
public:
|
||||
GameEngine();
|
||||
|
|
@ -29,6 +31,7 @@ public:
|
|||
void run();
|
||||
void sUserInput();
|
||||
int getFrame() { return currentFrame; }
|
||||
float getFrameTime() { return frameTime; }
|
||||
sf::View getView() { return visible; }
|
||||
|
||||
// global textures for scripts to access
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue