add server mspt

This commit is contained in:
2025-08-19 18:55:25 +02:00
parent 39580c15c5
commit bd56fb0646
2 changed files with 13 additions and 1 deletions

View File

@@ -11,9 +11,12 @@ class ServerState;
class Server : public StateMachine<Server, void, float> {
private:
std::shared_ptr<IServerSocket> m_Socket;
float m_LastMspt;
public:
Server(const std::shared_ptr<IServerSocket>& a_Socket) : m_Socket(a_Socket) {}
Server(const std::shared_ptr<IServerSocket>& a_Socket);
virtual void Update(float a_Delta);
friend class ServerState;
};