begin client-server

This commit is contained in:
2025-08-06 20:10:56 +02:00
parent 89213e9a97
commit c813c49707
26 changed files with 264 additions and 188 deletions

View File

@@ -5,11 +5,12 @@
namespace td {
namespace server {
// this class is temporary useless
class LobbyState : public IServerState {
private:
/* data */
std::shared_ptr<game::World> m_World;
public:
LobbyState(/* args */) {}
LobbyState(const std::shared_ptr<game::World>& a_World) : m_World(a_World) {}
~LobbyState() {}
virtual void HandlePacket(PlayerID a_Id, const protocol::PacketBase& a_Packet) override;