diff options
author | Safwat Halaby <SafwatHalaby@users.noreply.github.com> | 2015-12-22 06:43:50 +0100 |
---|---|---|
committer | Safwat Halaby <SafwatHalaby@users.noreply.github.com> | 2015-12-24 05:20:16 +0100 |
commit | dfeced18b2397234340b94fe0ba61cc567c9cfc5 (patch) | |
tree | bc50fe2d4f011c05eedd389ab4924747d0085baf /src/Mobs/AggressiveMonster.h | |
parent | Merge pull request #2811 from cuberite/isblockfence (diff) | |
download | cuberite-dfeced18b2397234340b94fe0ba61cc567c9cfc5.tar cuberite-dfeced18b2397234340b94fe0ba61cc567c9cfc5.tar.gz cuberite-dfeced18b2397234340b94fe0ba61cc567c9cfc5.tar.bz2 cuberite-dfeced18b2397234340b94fe0ba61cc567c9cfc5.tar.lz cuberite-dfeced18b2397234340b94fe0ba61cc567c9cfc5.tar.xz cuberite-dfeced18b2397234340b94fe0ba61cc567c9cfc5.tar.zst cuberite-dfeced18b2397234340b94fe0ba61cc567c9cfc5.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/AggressiveMonster.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Mobs/AggressiveMonster.h b/src/Mobs/AggressiveMonster.h index 17539d39e..13f59842f 100644 --- a/src/Mobs/AggressiveMonster.h +++ b/src/Mobs/AggressiveMonster.h @@ -11,16 +11,16 @@ class cAggressiveMonster : public cMonster { typedef cMonster super; - + public: cAggressiveMonster(const AString & a_ConfigName, eMonsterType a_MobType, const AString & a_SoundHurt, const AString & a_SoundDeath, double a_Width, double a_Height); virtual void Tick (std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override; - virtual void InStateChasing(std::chrono::milliseconds a_Dt) override; - + virtual void InStateChasing(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override; + virtual void EventSeePlayer(cEntity *) override; - + /** Try to perform attack returns true if attack was deemed successful (hit player, fired projectile, creeper exploded, etc.) even if it didn't actually do damage return false if e.g. the mob is still in cooldown from a previous attack */ |