1
0
cuberite-2a/source/Mobs/Creeper.h
Tiger Wang fe6fa23a97 Second round of fixes
* Implemented suggestions
2013-10-09 21:02:59 +01:00

35 lines
486 B
C++

#pragma once
#include "AggressiveMonster.h"
class cCreeper :
public cAggressiveMonster
{
typedef cAggressiveMonster super;
public:
cCreeper(void);
CLASS_PROTODEF(cCreeper);
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override;
virtual void DoTakeDamage(TakeDamageInfo & a_TDI) override;
bool IsBlowing(void) const {return m_bIsBlowing; }
bool IsCharged(void) const {return m_bIsCharged; }
private:
bool m_bIsBlowing, m_bIsCharged;
} ;