diff -r 5a209a8585c9 -r e28b28b8817c proto/p2/GameState.hh --- a/proto/p2/GameState.hh Mon Nov 03 21:36:17 2008 +0000 +++ b/proto/p2/GameState.hh Mon Nov 03 22:20:21 2008 +0000 @@ -1,6 +1,8 @@ #ifndef GAMESTATE_HH #define GAMESTATE_HH +#include "Dimension.hh" + class GameState { public: Dimension map_dimensions; @@ -21,10 +23,13 @@ Coordinate position; public: + + Player(Coordinate c) : position(c) {} + PlayerType type; Dimensions dimensions; - Coordinate getPosition (void) { + Coordinate getPosition (void) const { return this->position; } };