summaryrefslogtreecommitdiffstats
path: root/src/Mobs/NewMonster.cpp
diff options
context:
space:
mode:
authorSamuel Barney <samjbarney@gmail.com>2014-08-21 00:43:12 +0200
committerSamuel Barney <samjbarney@gmail.com>2014-08-21 00:43:12 +0200
commit7e6c1596d4b36b85ad3daaf210b0a7f4e0af56f7 (patch)
treee71c42ca88c98dead3f8e9e454d0fd79c161c5be /src/Mobs/NewMonster.cpp
parentIntegrated ClientHandle into NewMonster (diff)
downloadcuberite-7e6c1596d4b36b85ad3daaf210b0a7f4e0af56f7.tar
cuberite-7e6c1596d4b36b85ad3daaf210b0a7f4e0af56f7.tar.gz
cuberite-7e6c1596d4b36b85ad3daaf210b0a7f4e0af56f7.tar.bz2
cuberite-7e6c1596d4b36b85ad3daaf210b0a7f4e0af56f7.tar.lz
cuberite-7e6c1596d4b36b85ad3daaf210b0a7f4e0af56f7.tar.xz
cuberite-7e6c1596d4b36b85ad3daaf210b0a7f4e0af56f7.tar.zst
cuberite-7e6c1596d4b36b85ad3daaf210b0a7f4e0af56f7.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/NewMonster.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Mobs/NewMonster.cpp b/src/Mobs/NewMonster.cpp
index cd63fcb6a..3245bd83d 100644
--- a/src/Mobs/NewMonster.cpp
+++ b/src/Mobs/NewMonster.cpp
@@ -8,6 +8,10 @@ cNewMonster::cNewMonster(const AString & a_ConfigName, eType a_MobType, const AS
, m_SoundHurt(a_SoundHurt)
, m_SoundDeath(a_SoundDeath)
{
+ m_AI = new cAIComponent(this);
+ m_Attack = new cAttackComponent(this);
+ m_Environment = new cEnvironmentComponent(this);
+ m_Movement = new cMovementComponent(this);
}
void cNewMonster::SpawnOn(cClientHandle & a_Client)