summaryrefslogtreecommitdiff
path: root/server/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/game.h')
-rw-r--r--server/game.h8
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();