diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/alien.h | 1 | ||||
-rw-r--r-- | include/game_state.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/alien.h b/include/alien.h index 476990b..2f7d596 100644 --- a/include/alien.h +++ b/include/alien.h @@ -3,6 +3,7 @@ class Alien { public: Alien(int x, int y); + const static char MAP_CHAR = 'x'; private: int x; int y; diff --git a/include/game_state.h b/include/game_state.h index abb2efa..aa49fc8 100644 --- a/include/game_state.h +++ b/include/game_state.h @@ -11,7 +11,7 @@ class GameState { public: - GameState(const std::istream& mapFile){} + GameState(std::istream& mapFile); private: std::vector<Alien> aliens; std::vector<EnemyBullet> bullets; |