diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-11-27 04:22:53 +0100 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-11-27 05:55:00 +0100 |
commit | d0c5819fb141f5cb174f47616d7c5ea4116e871c (patch) | |
tree | 58773bb73dd65e0181de1c4e5a799d76e2ec85e5 /server/client.h | |
parent | 55ae5202de17fb7f7d1d00fc76defa194d7f9b06 (diff) |
Changed format of RoundState again.
Diffstat (limited to 'server/client.h')
-rw-r--r-- | server/client.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/client.h b/server/client.h index ec22e85..b8e11c2 100644 --- a/server/client.h +++ b/server/client.h @@ -46,8 +46,10 @@ class Client : public boost::enable_shared_from_this<Client> { //! Notify client of a round start. void round_start(); + typedef Message::RoundState::Player PlayerState; + //! Send round state. - void round_state(State state); + 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(); |