summaryrefslogtreecommitdiff
path: root/Game.h
diff options
context:
space:
mode:
Diffstat (limited to 'Game.h')
-rw-r--r--Game.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/Game.h b/Game.h
new file mode 100644
index 0000000..e87673b
--- /dev/null
+++ b/Game.h
@@ -0,0 +1,22 @@
+#ifndef GAME_H
+#define GAME_H
+
+#include "Player.h"
+
+class Game {
+ public:
+ Game(Player &p1, Player &p2);
+
+ Player &p1() const {
+ return _p1;
+ };
+ Player &p2() const {
+ return _p2;
+ };
+
+ private:
+ Player &_p1;
+ Player &_p2;
+};
+
+#endif /* GAME_H */