diff options
Diffstat (limited to 'src/gameplay.hpp')
-rw-r--r-- | src/gameplay.hpp | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/src/gameplay.hpp b/src/gameplay.hpp index f53b094..e325730 100644 --- a/src/gameplay.hpp +++ b/src/gameplay.hpp @@ -29,17 +29,24 @@ class Game { Camera2D * camera; - public: - Game(std::string const & path); - ~Game(); + int frameWidth; + int frameHeight; - void start() const ; - void draw() const ; - int tick() const ; - int getKeys() const ; - int shoot() const ; + Rectangle sourceRec; - std::string const & getNext() const ; // returns next level's string + Vector2 origin; + + public: + Game(std::string const &path); + ~Game(); + + void start() ; + void draw() const; + int tick() const; + int getKeys() const; + int shoot() const; + + std::string const &getNext() const; // returns next level's string }; #endif // GAMEPLAY_H_ |