Files
cuberite-2a/source/Mobs/Magmacube.h
T

33 lines
509 B
C++
Raw Normal View History

2013-07-29 12:13:03 +01:00
#pragma once
#include "AggressiveMonster.h"
2013-09-18 22:17:43 +01:00
class cMagmaCube :
2013-07-29 12:13:03 +01:00
public cAggressiveMonster
{
typedef cAggressiveMonster super;
public:
2013-09-18 22:17:43 +01:00
/// Creates a MagmaCube of the specified size; size is 1 .. 3, with 1 being the smallest
cMagmaCube(int a_Size);
2013-07-29 12:13:03 +01:00
2013-09-18 22:17:43 +01:00
CLASS_PROTODEF(cMagmaCube);
2013-07-29 12:13:03 +01:00
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override;
2013-10-08 19:20:49 +01:00
int GetSize(void) const { return m_Size; }
2013-07-29 12:13:03 +01:00
protected:
2013-09-18 22:17:43 +01:00
/// Size of the MagmaCube, 1 .. 3, with 1 being the smallest
2013-07-29 12:13:03 +01:00
int m_Size;
} ;