1
0
cuberite-2a/src/Mobs/Wither.h

38 lines
600 B
C
Raw Normal View History

#pragma once
#include "AggressiveMonster.h"
class cWither :
public cAggressiveMonster
{
typedef cAggressiveMonster super;
public:
cWither(void);
CLASS_PROTODEF(cWither);
2014-03-24 10:29:19 +00:00
2014-03-25 08:32:58 +00:00
/** Returns whether the wither is invulnerable to arrows. */
bool IsArmored(void) const;
2014-03-25 07:10:55 +00:00
// cEntity overrides
2014-03-25 09:13:27 +00:00
virtual bool Initialize(cWorld * a_World) override;
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override;
2014-04-25 22:32:30 +00:00
virtual bool DoTakeDamage(TakeDamageInfo & a_TDI) override;
2014-03-24 10:29:19 +00:00
virtual void Tick(float a_Dt, cChunk & a_Chunk) override;
private:
2014-04-26 15:37:35 +00:00
bool m_IsSpawnInvulnerable;
2014-03-25 07:10:55 +00:00
} ;