diff options
Diffstat (limited to 'source/Mobs/PassiveMonster.h')
-rw-r--r-- | source/Mobs/PassiveMonster.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/source/Mobs/PassiveMonster.h b/source/Mobs/PassiveMonster.h new file mode 100644 index 000000000..ae0bea3fb --- /dev/null +++ b/source/Mobs/PassiveMonster.h @@ -0,0 +1,26 @@ + +#pragma once + +#include "Monster.h" + + + + + +class cPassiveMonster : + public cMonster +{ + typedef cMonster super; + +public: + cPassiveMonster(const AString & a_ConfigName, char a_ProtocolMobType, const AString & a_SoundHurt, const AString & a_SoundDeath, double a_Width, double a_Height); + + virtual void Tick(float a_Dt, cChunk & a_Chunk) override; + + /// When hit by someone, run away + virtual void DoTakeDamage(TakeDamageInfo & a_TDI) override; +} ; + + + + |