summaryrefslogtreecommitdiffstats
path: root/src/Mobs/AggressiveMonster.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/AggressiveMonster.h')
-rw-r--r--src/Mobs/AggressiveMonster.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Mobs/AggressiveMonster.h b/src/Mobs/AggressiveMonster.h
index 27ad88834..853504b7a 100644
--- a/src/Mobs/AggressiveMonster.h
+++ b/src/Mobs/AggressiveMonster.h
@@ -7,16 +7,17 @@
typedef std::string AString;
class cAggressiveMonster :
- public cMonster
+ public cMonster
{
- typedef cMonster super;
+ 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);
+ 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 Tick (std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
private:
- cBehaviorAggressive m_BehaviorAggressive;
+ cBehaviorAggressive m_BehaviorAggressive;
+ cBehaviorWanderer m_BehaviorWanderer;
} ;