From e42727977b3dab7aecff0ce8afa5b16abcd8b26b Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Wed, 3 Jun 2015 21:22:14 +0200 Subject: Started reading of gamestate --- include/alien.h | 1 + include/game_state.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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 aliens; std::vector bullets; -- cgit v1.2.3