summaryrefslogtreecommitdiffstats
path: root/src/Mobs/AggressiveMonster.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-24 20:57:32 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-24 20:57:32 +0100
commit9c0e3615ce61dba0ae973b97807833bd6ddd5bda (patch)
treef19c645c9d41539064cb23b0448ed7794114c5d9 /src/Mobs/AggressiveMonster.h
parentFixed mobs too close to player not ticking (diff)
downloadcuberite-9c0e3615ce61dba0ae973b97807833bd6ddd5bda.tar
cuberite-9c0e3615ce61dba0ae973b97807833bd6ddd5bda.tar.gz
cuberite-9c0e3615ce61dba0ae973b97807833bd6ddd5bda.tar.bz2
cuberite-9c0e3615ce61dba0ae973b97807833bd6ddd5bda.tar.lz
cuberite-9c0e3615ce61dba0ae973b97807833bd6ddd5bda.tar.xz
cuberite-9c0e3615ce61dba0ae973b97807833bd6ddd5bda.tar.zst
cuberite-9c0e3615ce61dba0ae973b97807833bd6ddd5bda.zip
Diffstat (limited to 'src/Mobs/AggressiveMonster.h')
-rw-r--r--src/Mobs/AggressiveMonster.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Mobs/AggressiveMonster.h b/src/Mobs/AggressiveMonster.h
index 5a0d93f3d..9cee4e7a7 100644
--- a/src/Mobs/AggressiveMonster.h
+++ b/src/Mobs/AggressiveMonster.h
@@ -13,16 +13,15 @@ class cAggressiveMonster :
typedef cMonster super;
public:
+
cAggressiveMonster(const AString & a_ConfigName, eType a_MobType, const AString & a_SoundHurt, const AString & a_SoundDeath, double a_Width, double a_Height);
virtual void Tick (float a_Dt, cChunk & a_Chunk) override;
virtual void InStateChasing(float a_Dt) override;
virtual void EventSeePlayer(cEntity *) override;
+ virtual void Attack(float a_Dt) override;
-
-protected:
- float m_ChaseTime;
} ;