diff options
Diffstat (limited to 'src/Mobs/Skeleton.h')
-rw-r--r-- | src/Mobs/Skeleton.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/Mobs/Skeleton.h b/src/Mobs/Skeleton.h index 577588b32..1b0216ad2 100644 --- a/src/Mobs/Skeleton.h +++ b/src/Mobs/Skeleton.h @@ -1,28 +1,24 @@ #pragma once -#include "AggressiveMonster.h" +#include "Monster.h" class cSkeleton : - public cAggressiveMonster + public cMonster { - typedef cAggressiveMonster super; + typedef cMonster super; public: cSkeleton(bool IsWither); CLASS_PROTODEF(cSkeleton) - virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override; - virtual void MoveToPosition(const Vector3d & a_Position) override; - virtual void Attack(float a_Dt) override; - virtual void SpawnOn(cClientHandle & a_ClientHandle) override; - - virtual bool IsUndead(void) override { return true; } + virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) /*override*/;\ + virtual void SpawnOn(cClientHandle & a_ClientHandle) /*override*/; bool IsWither(void) const { return m_bIsWither; } |