From c9f83a504dc1566543a01dac955d368f8e9ace08 Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Tue, 4 Jan 2022 21:17:23 +0100 Subject: two levels. moved shooting logic elsewhere --- src/gameplay.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gameplay.hpp') 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_ -- cgit v1.2.3