summaryrefslogtreecommitdiff
path: root/include/game_state.h
diff options
context:
space:
mode:
authorJustin Worthe <justin.worthe@gmail.com>2015-06-03 07:50:05 +0200
committerJustin Worthe <justin.worthe@gmail.com>2015-06-03 07:50:05 +0200
commit618501b6fae62fa2d5db922ec8abf94120e5e99c (patch)
tree26cd18ceef12003d4d7b84b40bf9b77f7465093c /include/game_state.h
parent4f75af9646b03ce4101820c10152944c780e7c0a (diff)
Added gamestate object
Diffstat (limited to 'include/game_state.h')
-rw-r--r--include/game_state.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/game_state.h b/include/game_state.h
new file mode 100644
index 0000000..abb2efa
--- /dev/null
+++ b/include/game_state.h
@@ -0,0 +1,21 @@
+#pragma once
+
+#include "alien.h"
+#include "enemy_bullet.h"
+#include "player_missile.h"
+#include "shield.h"
+#include "spaceship.h"
+#include <vector>
+#include <iostream>
+
+class GameState
+{
+public:
+ GameState(const std::istream& mapFile){}
+private:
+ std::vector<Alien> aliens;
+ std::vector<EnemyBullet> bullets;
+ std::vector<PlayerMissile> missiles;
+ std::vector<Shield> shields;
+ std::vector<Spaceship> spaceships;
+};