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;
|
2016-02-05 16:45:45 -05:00
|
|
|
|
2013-07-29 07:13:03 -04:00
|
|
|
public:
|
2015-07-31 10:49:10 -04:00
|
|
|
/** Creates a MagmaCube of the specified size; with 1 being the smallest */
|
2013-09-18 17:17:43 -04:00
|
|
|
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; }
|
2015-05-06 23:12:17 -04:00
|
|
|
|
|
|
|
/** Returns the text describing the slime's size, as used by the client's resource subsystem for sounds.
|
|
|
|
Returns either "big" or "small". */
|
2015-05-08 20:50:05 -04:00
|
|
|
static AString GetSizeName(int a_Size);
|
2016-02-05 16:45:45 -05:00
|
|
|
|
2013-07-29 07:13:03 -04:00
|
|
|
protected:
|
|
|
|
|
2015-07-31 10:49:10 -04:00
|
|
|
/** Size of the MagmaCube, with 1 being the smallest */
|
2013-07-29 07:13:03 -04:00
|
|
|
int m_Size;
|
|
|
|
} ;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|