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/cSpider.h | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) (limited to 'source/cSpider.h') diff --git a/source/cSpider.h b/source/cSpider.h index 23600d330..7ffc818e4 100644 --- a/source/cSpider.h +++ b/source/cSpider.h @@ -1,22 +1,14 @@ #pragma once -#include "cMonster.h" +#include "cAggressiveMonster.h" -class cSpider : public cMonster +class cSpider : public cAggressiveMonster { public: cSpider(); - ~cSpider(); - + ~cSpider(); + 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