summaryrefslogtreecommitdiff
path: root/server/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/client.h')
-rw-r--r--server/client.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/client.h b/server/client.h
index 91fd4b6..add78f0 100644
--- a/server/client.h
+++ b/server/client.h
@@ -28,7 +28,7 @@ class ClientBase {
typedef Message::RoundState::Player PlayerState;
//! Send round state.
- virtual void round_state(const PlayerState& pl_d, const PlayerState& pl_r, const PlayerState& pl_u, const PlayerState& pl_l, const Tiles& d, const Actions& a) = 0;
+ virtual void round_state(const PlayerState& pl_d, const PlayerState& pl_r, const PlayerState& pl_u, const PlayerState& pl_l, const Tiles& d, const Actions& a, int p) = 0;
//! Send round end.
virtual void round_end(boost::function<void ()> callback) = 0;
@@ -83,7 +83,7 @@ class Client : public ClientBase, public boost::enable_shared_from_this<Client>
virtual void round_start();
//! Send round state.
- virtual void round_state(const PlayerState& pl_d, const PlayerState& pl_r, const PlayerState& pl_u, const PlayerState& pl_l, const Tiles& d, const Actions& a);
+ virtual void round_state(const PlayerState& pl_d, const PlayerState& pl_r, const PlayerState& pl_u, const PlayerState& pl_l, const Tiles& d, const Actions& a, int p);
//! Send round end.
virtual void round_end(boost::function<void ()> callback);
@@ -102,7 +102,7 @@ class ClientDumb : public ClientBase {
virtual void round_start();
- virtual void round_state(const PlayerState& pl_d, const PlayerState& pl_r, const PlayerState& pl_u, const PlayerState& pl_l, const Tiles& d, const Actions& a);
+ virtual void round_state(const PlayerState& pl_d, const PlayerState& pl_r, const PlayerState& pl_u, const PlayerState& pl_l, const Tiles& d, const Actions& a, int p);
virtual void round_end(boost::function<void ()> callback);