feat: place towers

This commit is contained in:
2021-09-19 19:20:08 +02:00
parent 3f53d32e44
commit 10a1fac992
6 changed files with 69 additions and 18 deletions

View File

@@ -22,7 +22,7 @@ void WorldClient::HandlePacket(protocol::WorldDataPacket* packet) {
}
void WorldClient::HandlePacket(protocol::WorldAddTowerPacket* packet) {
placeTowerAt(packet->getTowerType(), packet->getTowerX(), packet->getTowerY(), packet->getBuilder());
}
void WorldClient::HandlePacket(protocol::SpawnMobPacket* packet) {