summaryrefslogtreecommitdiffstats
path: root/src/Mobs/AggressiveMonster.h
diff options
context:
space:
mode:
authorSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-12-25 14:03:39 +0100
committerSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-12-25 14:03:39 +0100
commit6a22605fae80becb12318785389d07974a35cbbb (patch)
treefe06cfac5e89b12f1e8b8492d37dc10468c81429 /src/Mobs/AggressiveMonster.h
parentMerge pull request #2815 from SafwatHalaby/world (diff)
parentPF - "Special blocks" handling (diff)
downloadcuberite-6a22605fae80becb12318785389d07974a35cbbb.tar
cuberite-6a22605fae80becb12318785389d07974a35cbbb.tar.gz
cuberite-6a22605fae80becb12318785389d07974a35cbbb.tar.bz2
cuberite-6a22605fae80becb12318785389d07974a35cbbb.tar.lz
cuberite-6a22605fae80becb12318785389d07974a35cbbb.tar.xz
cuberite-6a22605fae80becb12318785389d07974a35cbbb.tar.zst
cuberite-6a22605fae80becb12318785389d07974a35cbbb.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/AggressiveMonster.h8
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 */