2012-12-21 04:52:14 -08:00
|
|
|
|
2011-12-25 14:47:12 -08:00
|
|
|
#pragma once
|
|
|
|
|
2012-09-23 13:53:08 -07:00
|
|
|
#include "Monster.h"
|
2011-12-25 14:47:12 -08:00
|
|
|
|
2012-12-21 04:52:14 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class cAggressiveMonster :
|
|
|
|
public cMonster
|
2011-12-25 14:47:12 -08:00
|
|
|
{
|
2012-12-21 04:52:14 -08:00
|
|
|
typedef cMonster super;
|
|
|
|
|
2011-12-25 14:47:12 -08:00
|
|
|
public:
|
2013-07-01 03:39:56 -07:00
|
|
|
cAggressiveMonster(const AString & a_ConfigName, char a_ProtocolMobType, const AString & a_SoundHurt, const AString & a_SoundDeath, double a_Width, double a_Height);
|
2011-12-25 14:47:12 -08:00
|
|
|
|
2013-04-13 14:02:10 -07:00
|
|
|
virtual void Tick (float a_Dt, cChunk & a_Chunk) override;
|
|
|
|
virtual void InStateChasing(float a_Dt) override;
|
2012-12-21 04:52:14 -08:00
|
|
|
|
2013-04-13 14:02:10 -07:00
|
|
|
virtual void EventSeePlayer(cEntity *) override;
|
2011-12-25 14:47:12 -08:00
|
|
|
|
|
|
|
protected:
|
|
|
|
float m_ChaseTime;
|
2012-12-21 04:52:14 -08:00
|
|
|
} ;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|