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

@@ -182,6 +182,9 @@ public:
const Team& getTeam(TeamColor team) const;
const TowerList& getTowers() const { return m_Towers; };
// Archer Tower
virtual void OnArrowShot(MobPtr target, Tower* shooter);
private:
void moveMobs(std::uint64_t delta);
void cleanDeadMobs();