feat: add working upgrade popup

This commit is contained in:
2021-11-06 16:11:13 +01:00
parent ae802b4253
commit c5289cb1b0
3 changed files with 30 additions and 4 deletions

View File

@@ -10,6 +10,7 @@ WorldClient::WorldClient(ClientGame* game) : game::World(game), protocol::Packet
GetDispatcher()->RegisterHandler(protocol::PacketType::WorldBeginData, this);
GetDispatcher()->RegisterHandler(protocol::PacketType::WorldData, this);
GetDispatcher()->RegisterHandler(protocol::PacketType::SpawnMob, this);
GetDispatcher()->RegisterHandler(protocol::PacketType::UpgradeTower, this);
}
void WorldClient::HandlePacket(const protocol::WorldBeginDataPacket* packet) {