summaryrefslogtreecommitdiffstats
path: root/source/Mobs/Slime.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Mobs/Slime.h')
-rw-r--r--source/Mobs/Slime.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/source/Mobs/Slime.h b/source/Mobs/Slime.h
index 17bf0807a..88136ff32 100644
--- a/source/Mobs/Slime.h
+++ b/source/Mobs/Slime.h
@@ -13,11 +13,17 @@ class cSlime :
typedef cAggressiveMonster super;
public:
- cSlime(void);
+ /// Creates a slime of the specified size; size is 1 .. 3, with 1 being the smallest
+ cSlime(int a_Size);
CLASS_PROTODEF(cSlime);
- virtual void GetDrops(cItems & a_Drops, cPawn * a_Killer = NULL) override;
+ virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override;
+
+protected:
+
+ /// Size of the slime, 1 .. 3, with 1 being the smallest
+ int m_Size;
} ;