From d0c5819fb141f5cb174f47616d7c5ea4116e871c Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sat, 27 Nov 2010 04:22:53 +0100 Subject: Changed format of RoundState again. --- server/game.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'server/game.h') 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 { public: @@ -33,11 +31,13 @@ class Game : public boost::enable_shared_from_this { //! 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(); -- cgit v1.2.3