From 05314c67655e5030d89e85087fba0a699d8a4ba7 Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Fri, 14 Jan 2022 01:19:37 +0100 Subject: background can now be specified in map file --- src/gameplay.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gameplay.hpp') diff --git a/src/gameplay.hpp b/src/gameplay.hpp index 7567efc..62103f4 100644 --- a/src/gameplay.hpp +++ b/src/gameplay.hpp @@ -58,6 +58,7 @@ class Game { std::string next; // next level std::string current; // next level + std::string background; // next level int frameWidth; int frameHeight; @@ -84,6 +85,7 @@ class Game { 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 }; #endif // GAMEPLAY_H_ -- cgit v1.2.3