23 lines
482 B
C++
23 lines
482 B
C++
#pragma once
|
|
|
|
#include "cMonster.h"
|
|
|
|
class cSpider : public cMonster
|
|
{
|
|
public:
|
|
cSpider();
|
|
~cSpider();
|
|
|
|
virtual bool IsA( const char* a_EntityType );
|
|
virtual void GetMonsterConfig(const char* pm_name);
|
|
|
|
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;
|
|
};
|