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