diff options
Diffstat (limited to 'server/client.h')
-rw-r--r-- | server/client.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/server/client.h b/server/client.h index ed3a47b..91fd4b6 100644 --- a/server/client.h +++ b/server/client.h @@ -94,4 +94,19 @@ class Client : public ClientBase, public boost::enable_shared_from_this<Client> typedef std::vector<Client> Clients; +class ClientDumb : public ClientBase { + public: + virtual std::string nick(); + + virtual void game_start(boost::function<void ()> callback, std::vector<std::string> players); + + 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_end(boost::function<void ()> callback); + + virtual void get_action(boost::function<void (Action)> callback, Actions expected_actions); +}; + #endif |