diff options
author | Justin Worthe <justin.worthe@gmail.com> | 2015-06-03 21:22:14 +0200 |
---|---|---|
committer | Justin Worthe <justin.worthe@gmail.com> | 2015-06-03 21:22:14 +0200 |
commit | e42727977b3dab7aecff0ce8afa5b16abcd8b26b (patch) | |
tree | f1352d17910d3c4454b999def79f02ad68ab2866 /include | |
parent | eac5108541892a00f71e92d3e192598774696689 (diff) |
Started reading of gamestate
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; |