diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-11-29 00:25:58 +0100 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-11-29 00:26:36 +0100 |
commit | 3111e83d416d0bbba278759ae095040c7994f949 (patch) | |
tree | 46174537f12e00abd0d1e1e565b4636db9bb827d /server/client.h | |
parent | 3a9d89c2abf1fb2eb2cc465a91f2cd3a1ea0750d (diff) |
Wait for Ready from client before starting a new round.
Diffstat (limited to 'server/client.h')
-rw-r--r-- | server/client.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/client.h b/server/client.h index b8e11c2..4ba36d7 100644 --- a/server/client.h +++ b/server/client.h @@ -52,7 +52,7 @@ class Client : public boost::enable_shared_from_this<Client> { 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); //! Send round end. - void round_end(); + void round_end(boost::function<void ()> callback); //! Get action. Upon connection error, last element of expected_actions will be provided. void get_action(boost::function<void (Action)> callback, Actions expected_actions); |