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/cChicken.h | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'source/cChicken.h') diff --git a/source/cChicken.h b/source/cChicken.h index 9da836587..1ad545828 100644 --- a/source/cChicken.h +++ b/source/cChicken.h @@ -1,21 +1,14 @@ #pragma once -#include "cMonster.h" +#include "cPassiveMonster.h" -class cChicken : public cMonster +class cChicken : public cPassiveMonster { public: cChicken(); - ~cChicken(); - + ~cChicken(); + 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