Files
Tower-Defense2/include/client/Client.h
2025-08-09 11:23:17 +02:00

23 lines
416 B
C++

#pragma once
#include <client/IClientSocket.h>
#include <td/common/StateMachine.h>
namespace td {
namespace client {
class ClientState;
class Client : public StateMachine<Client, void, float> {
private:
std::shared_ptr<IClientSocket> m_Socket;
public:
Client(const std::shared_ptr<IClientSocket>& a_Socket) : m_Socket(a_Socket) {}
friend class ClientState;
};
} // namespace client
} // namespace td