summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJustin Worthe <justin.worthe@gmail.com>2015-06-03 21:22:14 +0200
committerJustin Worthe <justin.worthe@gmail.com>2015-06-03 21:22:14 +0200
commite42727977b3dab7aecff0ce8afa5b16abcd8b26b (patch)
treef1352d17910d3c4454b999def79f02ad68ab2866 /include
parenteac5108541892a00f71e92d3e192598774696689 (diff)
Started reading of gamestate
Diffstat (limited to 'include')
-rw-r--r--include/alien.h1
-rw-r--r--include/game_state.h2
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;