aboutsummaryrefslogtreecommitdiffstats
path: root/src/gameplay.hpp
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-01-04 21:17:23 +0100
committersalaaad2 <arthurdurant263@gmail.com>2022-01-04 21:17:23 +0100
commitc9f83a504dc1566543a01dac955d368f8e9ace08 (patch)
treee301466a4f58acb90094507522802c3034f0863b /src/gameplay.hpp
parentadd readme and optimize shooting vectors (diff)
downloadthreshold-c9f83a504dc1566543a01dac955d368f8e9ace08.tar.gz
threshold-c9f83a504dc1566543a01dac955d368f8e9ace08.tar.bz2
threshold-c9f83a504dc1566543a01dac955d368f8e9ace08.tar.xz
threshold-c9f83a504dc1566543a01dac955d368f8e9ace08.tar.zst
threshold-c9f83a504dc1566543a01dac955d368f8e9ace08.zip
two levels. moved shooting logic elsewhere
Diffstat (limited to 'src/gameplay.hpp')
-rw-r--r--src/gameplay.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gameplay.hpp b/src/gameplay.hpp
index 7097995..ccedb0e 100644
--- a/src/gameplay.hpp
+++ b/src/gameplay.hpp
@@ -22,6 +22,8 @@ class Game {
Entity * player;
+ std::string next;
+
public:
Game(std::string const & path);
~Game();
@@ -30,6 +32,9 @@ class Game {
void draw() const ;
int tick() const ;
int getKeys() const ;
+ int shoot() const ;
+
+ std::string const & getNext() const ;
};
#endif // GAMEPLAY_H_