From 3111e83d416d0bbba278759ae095040c7994f949 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Mon, 29 Nov 2010 00:25:58 +0100 Subject: Wait for Ready from client before starting a new round. --- server/client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/client.h') 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 { 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 callback); //! Get action. Upon connection error, last element of expected_actions will be provided. void get_action(boost::function callback, Actions expected_actions); -- cgit v1.2.3