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/cSkeleton.h | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'source/cSkeleton.h') diff --git a/source/cSkeleton.h b/source/cSkeleton.h index f30ef23c4..ca7ed2fe3 100644 --- a/source/cSkeleton.h +++ b/source/cSkeleton.h @@ -1,22 +1,16 @@ #pragma once -#include "cMonster.h" +#include "cAggressiveMonster.h" -class cSkeleton : public cMonster +class cSkeleton : public cAggressiveMonster { public: cSkeleton(); - ~cSkeleton(); - + ~cSkeleton(); + 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