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