2012-12-21 06:04:08 -05:00
|
|
|
|
2012-06-14 09:06:06 -04:00
|
|
|
#pragma once
|
|
|
|
|
2012-09-23 16:53:08 -04:00
|
|
|
#include "AggressiveMonster.h"
|
2012-06-14 09:06:06 -04:00
|
|
|
|
2012-12-21 07:21:20 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-12-21 06:04:08 -05:00
|
|
|
class cSlime :
|
|
|
|
public cAggressiveMonster
|
2012-06-14 09:06:06 -04:00
|
|
|
{
|
2012-12-21 06:04:08 -05:00
|
|
|
typedef cAggressiveMonster super;
|
|
|
|
|
2012-06-14 09:06:06 -04:00
|
|
|
public:
|
2013-07-01 06:39:56 -04:00
|
|
|
/// Creates a slime of the specified size; size is 1 .. 3, with 1 being the smallest
|
|
|
|
cSlime(int a_Size);
|
2012-06-14 09:06:06 -04:00
|
|
|
|
2012-12-21 07:21:20 -05:00
|
|
|
CLASS_PROTODEF(cSlime);
|
2012-12-21 06:04:08 -05:00
|
|
|
|
2013-07-01 06:39:56 -04:00
|
|
|
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override;
|
2013-10-08 14:20:49 -04:00
|
|
|
int GetSize(void) const { return m_Size; }
|
2013-07-01 06:39:56 -04:00
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
/// Size of the slime, 1 .. 3, with 1 being the smallest
|
|
|
|
int m_Size;
|
2012-12-21 06:04:08 -05:00
|
|
|
} ;
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-06-14 09:06:06 -04:00
|
|
|
|