feat: basic arrow shoot event

This commit is contained in:
2021-09-29 14:48:25 +02:00
parent 9cf3916951
commit ef76437670
8 changed files with 25 additions and 14 deletions

View File

@@ -3,8 +3,6 @@
#include "game/client/ClientGame.h"
#include "render/WorldRenderer.h"
#include <iostream>
namespace td {
namespace client {
@@ -27,5 +25,9 @@ void WorldClient::HandlePacket(protocol::SpawnMobPacket* packet) {
packet->getMobX(), packet->getMobY(), packet->getMobDirection());
}
void WorldClient::OnArrowShot(game::MobPtr target, game::Tower* tower){
World::OnArrowShot(target, tower);
}
} // namespace client
} // namespace td