5db6213f34
+ Pigs, Minecarts, Sheep, Skeletons, Slimes, Villagers, Wolves, and Horses have metadata + Base code on taming wolves, shearing sheep, and taming horses + Sheep and horses have different colours when spawned
32 lines
369 B
C++
32 lines
369 B
C++
|
|
#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;
|
|
bool IsWither(void) const { return m_bIsWither; };
|
|
|
|
private:
|
|
|
|
bool m_bIsWither;
|
|
|
|
} ;
|
|
|
|
|
|
|
|
|