diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-11-27 04:22:53 +0100 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-11-27 05:55:00 +0100 |
commit | d0c5819fb141f5cb174f47616d7c5ea4116e871c (patch) | |
tree | 58773bb73dd65e0181de1c4e5a799d76e2ec85e5 /server/game.h | |
parent | 55ae5202de17fb7f7d1d00fc76defa194d7f9b06 (diff) |
Changed format of RoundState again.
Diffstat (limited to 'server/game.h')
-rw-r--r-- | server/game.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/game.h b/server/game.h index 3eaac77..5fd85fd 100644 --- a/server/game.h +++ b/server/game.h @@ -9,8 +9,6 @@ #include "wall.h" #include "client.h" #include "../common/action.h" -#include "../common/state.h" - class Game : public boost::enable_shared_from_this<Game> { public: @@ -33,11 +31,13 @@ class Game : public boost::enable_shared_from_this<Game> { //! Prepare for a new round. void round_start(); + typedef Client::PlayerState State; + //! Get a state snapshot. - State::Player get_state(); + State get_state(); //! Get a state snapshot, with concealed tiles filtered. - State::Player get_state_filtered(); + State get_state_filtered(); //! Get possible actions after a draw. Actions get_actions_draw(); |