1
0
cuberite-2a/source/Mobs/AggressiveMonster.h
madmaxoft@gmail.com afaf104b40 Added more constants into eEntityType; made them a compulsory parameter to the constructor, so that all entities have proper type.
Also added a few utility functions to cEntity for distinguishing the types (IsPlayer(), IsPickup() etc.)

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1092 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-21 12:52:14 +00:00

30 lines
335 B
C++

#pragma once
#include "Monster.h"
class cAggressiveMonster :
public cMonster
{
typedef cMonster super;
public:
cAggressiveMonster(void);
virtual void Tick(float a_Dt) override;
virtual void InStateChasing(float a_Dt) override;
virtual void EventSeePlayer(cEntity *) override;
protected:
float m_ChaseTime;
} ;