migrate main

This commit is contained in:
2025-08-10 11:49:07 +02:00
parent 6b987cf78d
commit 8bdcffcfa6
13 changed files with 276 additions and 192 deletions

View File

@@ -15,6 +15,8 @@ class Client : public StateMachine<Client, void, float> {
public:
Client(const std::shared_ptr<IClientSocket>& a_Socket) : m_Socket(a_Socket) {}
void SendPacket(const protocol::PacketBase& a_Packet);
friend class ClientState;
};

View File

@@ -10,6 +10,7 @@ namespace client {
class GameState : public ClientState {
private:
std::shared_ptr<game::World> m_World;
// sim::ClientSimulation m_Simulation;
public:
GameState(Client& a_Client, const std::shared_ptr<game::World>& a_World);