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.cpp | |
parent | 55ae5202de17fb7f7d1d00fc76defa194d7f9b06 (diff) |
Changed format of RoundState again.
Diffstat (limited to 'server/client.cpp')
-rw-r--r-- | server/client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/client.cpp b/server/client.cpp index 465da3b..3977b53 100644 --- a/server/client.cpp +++ b/server/client.cpp @@ -84,8 +84,8 @@ void Client::round_start() { connection->send(make_shared<Message::RoundStart>()); } -void Client::round_state(State state) { - connection->send(make_shared<Message::RoundState>(state)); +void Client::round_state(const PlayerState& pl_d, const PlayerState& pl_r, const PlayerState& pl_u, const PlayerState& pl_l, const Tiles& d, const Actions& a) { + connection->send(make_shared<Message::RoundState>(pl_d, pl_r, pl_u, pl_l, d, a)); } void Client::round_end() { |