22 lines
419 B
C++
22 lines
419 B
C++
#pragma once
|
|
|
|
#include "cMonster.h"
|
|
|
|
class cPig : public cMonster
|
|
{
|
|
public:
|
|
cPig();
|
|
~cPig();
|
|
|
|
virtual bool IsA( const char* a_EntityType );
|
|
|
|
virtual void Tick(float a_Dt);
|
|
virtual void KilledBy( cEntity* a_Killer );
|
|
virtual void InStateIdle(float a_Dt);
|
|
virtual void InStateChasing(float a_Dt);
|
|
virtual void InStateEscaping(float a_Dt);
|
|
//float m_ChaseTime;
|
|
protected:
|
|
float m_ChaseTime;
|
|
};
|