2012-12-21 06:04:08 -05:00
|
|
|
|
2011-12-25 17:47:12 -05:00
|
|
|
#pragma once
|
|
|
|
|
2012-09-23 16:53:08 -04:00
|
|
|
#include "Monster.h"
|
2011-12-25 17:47:12 -05:00
|
|
|
|
2012-12-21 06:04:08 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class cPassiveMonster :
|
|
|
|
public cMonster
|
2011-12-25 17:47:12 -05:00
|
|
|
{
|
2012-12-21 06:04:08 -05:00
|
|
|
typedef cMonster super;
|
|
|
|
|
2011-12-25 17:47:12 -05:00
|
|
|
public:
|
2012-12-22 04:39:13 -05:00
|
|
|
cPassiveMonster(const AString & a_ConfigName, char a_ProtocolMobType, const AString & a_SoundHurt, const AString & a_SoundDeath);
|
2012-12-21 06:04:08 -05:00
|
|
|
|
2012-12-22 05:15:53 -05:00
|
|
|
virtual void Tick(float a_Dt, MTRand & a_TickRandom) override;
|
2012-12-21 06:04:08 -05:00
|
|
|
|
|
|
|
/// When hit by someone, run away
|
|
|
|
virtual void DoTakeDamage(TakeDamageInfo & a_TDI) override;
|
|
|
|
} ;
|
|
|
|
|
|
|
|
|
2011-12-25 17:47:12 -05:00
|
|
|
|
|
|
|
|