2012-12-21 11:04:08 +00:00
|
|
|
|
2012-06-14 13:06:06 +00:00
|
|
|
#pragma once
|
|
|
|
|
2012-09-23 20:53:08 +00:00
|
|
|
#include "AggressiveMonster.h"
|
2012-06-14 13:06:06 +00:00
|
|
|
|
2012-12-21 12:21:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-12-21 11:04:08 +00:00
|
|
|
class cSlime :
|
|
|
|
public cAggressiveMonster
|
2012-06-14 13:06:06 +00:00
|
|
|
{
|
2012-12-21 11:04:08 +00:00
|
|
|
typedef cAggressiveMonster super;
|
|
|
|
|
2012-06-14 13:06:06 +00:00
|
|
|
public:
|
2013-07-01 10:39:56 +00:00
|
|
|
/// Creates a slime of the specified size; size is 1 .. 3, with 1 being the smallest
|
|
|
|
cSlime(int a_Size);
|
2012-06-14 13:06:06 +00:00
|
|
|
|
2012-12-21 12:21:20 +00:00
|
|
|
CLASS_PROTODEF(cSlime);
|
2012-12-21 11:04:08 +00:00
|
|
|
|
2013-07-01 10:39:56 +00: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-01 10:39:56 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
/// Size of the slime, 1 .. 3, with 1 being the smallest
|
|
|
|
int m_Size;
|
2012-12-21 11:04:08 +00:00
|
|
|
} ;
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-06-14 13:06:06 +00:00
|
|
|
|