diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-29 20:06:16 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-29 20:06:16 +0200 |
commit | 186321d3c780e9b1937c9fb387993f7e5cd9b9b0 (patch) | |
tree | 75c8e37bc3d4aff7f66de84042648dd51efd444f /src/Mobs/AggressiveMonster.h | |
parent | Horse (diff) | |
download | cuberite-186321d3c780e9b1937c9fb387993f7e5cd9b9b0.tar cuberite-186321d3c780e9b1937c9fb387993f7e5cd9b9b0.tar.gz cuberite-186321d3c780e9b1937c9fb387993f7e5cd9b9b0.tar.bz2 cuberite-186321d3c780e9b1937c9fb387993f7e5cd9b9b0.tar.lz cuberite-186321d3c780e9b1937c9fb387993f7e5cd9b9b0.tar.xz cuberite-186321d3c780e9b1937c9fb387993f7e5cd9b9b0.tar.zst cuberite-186321d3c780e9b1937c9fb387993f7e5cd9b9b0.zip |
Diffstat (limited to 'src/Mobs/AggressiveMonster.h')
-rw-r--r-- | src/Mobs/AggressiveMonster.h | 11 |
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; } ; |