mcserver/source/cCavespider.h

23 lines
494 B
C++

#pragma once
#include "cMonster.h"
class cCavespider : public cMonster
{
public:
cCavespider();
~cCavespider();
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;
};