2012-12-21 06:04:08 -05:00
|
|
|
|
2012-06-14 09:06:06 -04:00
|
|
|
#pragma once
|
|
|
|
|
2012-09-23 16:53:08 -04:00
|
|
|
#include "AggressiveMonster.h"
|
2012-06-14 09:06:06 -04:00
|
|
|
|
2012-12-21 06:04:08 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class cSkeleton :
|
|
|
|
public cAggressiveMonster
|
2012-06-14 09:06:06 -04:00
|
|
|
{
|
2012-12-21 06:04:08 -05:00
|
|
|
typedef cAggressiveMonster super;
|
|
|
|
|
2012-06-14 09:06:06 -04:00
|
|
|
public:
|
2013-10-08 14:20:49 -04:00
|
|
|
cSkeleton(bool IsWither);
|
2012-06-14 09:06:06 -04:00
|
|
|
|
2014-07-22 18:36:13 -04:00
|
|
|
CLASS_PROTODEF(cSkeleton)
|
2012-12-21 06:04:08 -05:00
|
|
|
|
2013-07-01 06:39:56 -04:00
|
|
|
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override;
|
2014-07-18 05:47:00 -04:00
|
|
|
virtual void MoveToPosition(const Vector3d & a_Position) override;
|
2013-11-04 15:46:56 -05:00
|
|
|
virtual void Attack(float a_Dt) override;
|
2014-07-17 19:26:27 -04:00
|
|
|
virtual void SpawnOn(cClientHandle & a_ClientHandle) override;
|
|
|
|
|
2014-07-19 17:35:35 -04:00
|
|
|
virtual bool IsUndead(void) override { return true; }
|
|
|
|
|
2014-07-22 18:36:13 -04:00
|
|
|
bool IsWither(void) const { return m_bIsWither; }
|
2013-10-08 14:20:49 -04:00
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
bool m_bIsWither;
|
|
|
|
|
2012-12-21 06:04:08 -05:00
|
|
|
} ;
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-06-14 09:06:06 -04:00
|
|
|
|