#pragma once #include #include #include namespace td { namespace server { class ServerState; class Server : public StateMachine { private: std::shared_ptr m_Socket; PlayerManager m_Players; float m_LastMspt; public: Server(const std::shared_ptr& a_Socket); virtual void Update(float a_Delta); friend class ServerState; }; } // namespace server } // namespace td