blob: 473a6d00d8a285ec946784623a3a0beb5e9c15cb (
plain) (
tree)
|
|
#pragma once
#include "AIComponent.h"
class cAIAggressiveComponent : public cAIComponent {
typedef cAIComponent super;
protected:
enum MState{ATTACKING, IDLE, CHASING, ESCAPING} m_EMState;
cEntity * m_Target;
public:
cAIAggressiveComponent(cMonster * a_Monster);
virtual void Tick(float a_Dt, cChunk & a_Chunk) override;
virtual void Attack(float a_Dt);
};
|