32 #include "eng3d/network.hpp"
41 virtual const char*
what() const noexcept {
42 return buffer.c_str();
48 std::thread net_thread;
49 std::atomic<bool> has_snapshot;
50 std::atomic<bool> run;
ClientException(const std::string &msg)
virtual const char * what() const noexcept
void wait_for_snapshot()
Waits to receive the server initial world snapshot.
Client(GameState &gs, std::string host, const unsigned port)