From e8f230f24e55469f1aa832bc8dad73db8018ffe1 Mon Sep 17 00:00:00 2001 From: "lapayo94@gmail.com" Date: Sun, 25 Dec 2011 22:47:12 +0000 Subject: - Fixed Bug #99 -> Mobs no longer bother you in creative mode - refactored many things in the Monster system git-svn-id: http://mc-server.googlecode.com/svn/trunk@112 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cGhast.h | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) (limited to 'source/cGhast.h') diff --git a/source/cGhast.h b/source/cGhast.h index c35e0ec19..c33d32df5 100644 --- a/source/cGhast.h +++ b/source/cGhast.h @@ -1,22 +1,14 @@ #pragma once -#include "cMonster.h" +#include "cAggressiveMonster.h" -class cGhast : public cMonster +class cGhast : public cAggressiveMonster { public: cGhast(); - ~cGhast(); - + ~cGhast(); + 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; -}; +}; -- cgit v1.2.3