diff options
author | salaaad2 <arthurdurant263@gmail.com> | 2022-01-14 14:12:14 +0100 |
---|---|---|
committer | salaaad2 <arthurdurant263@gmail.com> | 2022-01-14 14:12:14 +0100 |
commit | f3b2fcb95f0eb21d3b1e5977659c6447ccffeb82 (patch) | |
tree | 6899f16faabe3210989792de92c8b021f112d78a /src/gameplay.hpp | |
parent | boss has the correct textures (diff) | |
download | threshold-f3b2fcb95f0eb21d3b1e5977659c6447ccffeb82.tar.gz threshold-f3b2fcb95f0eb21d3b1e5977659c6447ccffeb82.tar.bz2 threshold-f3b2fcb95f0eb21d3b1e5977659c6447ccffeb82.tar.xz threshold-f3b2fcb95f0eb21d3b1e5977659c6447ccffeb82.tar.zst threshold-f3b2fcb95f0eb21d3b1e5977659c6447ccffeb82.zip |
strange behavior... I WILL find out whats going on !
Diffstat (limited to 'src/gameplay.hpp')
-rw-r--r-- | src/gameplay.hpp | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/gameplay.hpp b/src/gameplay.hpp index 5d02e4c..f82121d 100644 --- a/src/gameplay.hpp +++ b/src/gameplay.hpp @@ -42,7 +42,7 @@ // #define COOLPURPLE \ // CLITERAL(Color) { 170, 153, 255, 255 } // cool Purple #define COOLPURPLE \ - CLITERAL(Color) { 153, 0, 0, 255 } // cool Purple + CLITERAL(Color) { 153, 0, 0, 255 } // cool Purple class Game { int nEnemies; // number of enemies on given level @@ -57,8 +57,8 @@ class Game { Entity* player; - std::string next; // next level - std::string current; // next level + std::string next; // next level + std::string current; // next level std::string background; // next level int frameWidth; @@ -70,22 +70,21 @@ class Game { Texture2D crosshair; - public: Game(std::string const& path); ~Game(); void start(); void draw(); - int tick() ; - int getKeys() ; + int tick(); + int getKeys(); int shoot() const; int hit(Entity en, Vector2 add1, Vector2 add2) const; - std::string const& getNext() const; // returns next level's string - std::string const& getCurrent() const; // returns next level's string + std::string const& getNext() const; // returns next level's string + std::string const& getCurrent() const; // returns next level's string std::string const& getBackground() const; // returns next level's string - int const& getKills() const; // returns next level's string + int const& getKills() const; // returns next level's string }; #endif // GAMEPLAY_H_ |