diff options
Diffstat (limited to 'src/Mobs/Old Mobs/Skeleton.h')
-rw-r--r-- | src/Mobs/Old Mobs/Skeleton.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/Mobs/Old Mobs/Skeleton.h b/src/Mobs/Old Mobs/Skeleton.h new file mode 100644 index 000000000..2206a5203 --- /dev/null +++ b/src/Mobs/Old Mobs/Skeleton.h @@ -0,0 +1,37 @@ + +#pragma once + +#include "AggressiveMonster.h" + + + + + +class cSkeleton : + public cAggressiveMonster +{ + typedef cAggressiveMonster 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; } + + bool IsWither(void) const { return m_bIsWither; } + +private: + + bool m_bIsWither; + +} ; + + + + |