summaryrefslogtreecommitdiff
path: root/include/game_state.h
diff options
context:
space:
mode:
authorJustin Worthe <justin.worthe@gmail.com>2015-08-01 22:50:00 +0200
committerJustin Worthe <justin.worthe@gmail.com>2015-08-01 22:50:00 +0200
commit2e6ecf423c8228ac8de4badf4fc2d037a876b7ff (patch)
tree82624e97a3d1ee47db05e320bf0014726f68c09d /include/game_state.h
parent1f40ce6f3c710d6339d2001a56f401b6a9dcd525 (diff)
Reading network from file
Diffstat (limited to 'include/game_state.h')
-rw-r--r--include/game_state.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/game_state.h b/include/game_state.h
index 905bbc9..482dd7d 100644
--- a/include/game_state.h
+++ b/include/game_state.h
@@ -20,6 +20,8 @@ public:
const std::vector<PlayerMissile>& missiles() const { return _missiles; }
const std::vector<Shield>& shields() const { return _shields; }
const std::vector<Spaceship>& spaceships() const { return _spaceships; }
+
+ std::vector<bool> toBitArray() const;
private:
std::vector<Alien> _aliens;