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/cSheep.h | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'source/cSheep.h') diff --git a/source/cSheep.h b/source/cSheep.h index 948df55f4..170ea93fc 100644 --- a/source/cSheep.h +++ b/source/cSheep.h @@ -1,21 +1,14 @@ #pragma once -#include "cMonster.h" +#include "cPassiveMonster.h" -class cSheep : public cMonster +class cSheep : public cPassiveMonster { public: cSheep(); - ~cSheep(); - + ~cSheep(); + virtual bool IsA( const char* a_EntityType ); - 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