summaryrefslogtreecommitdiffstats
path: root/src/Mobs/NewMagmaCube.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/NewMagmaCube.h')
-rw-r--r--src/Mobs/NewMagmaCube.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/Mobs/NewMagmaCube.h b/src/Mobs/NewMagmaCube.h
new file mode 100644
index 000000000..f55f0164a
--- /dev/null
+++ b/src/Mobs/NewMagmaCube.h
@@ -0,0 +1,31 @@
+#pragma once
+
+#include "NewMonster.h"
+
+
+
+
+
+class cNewMagmaCube :
+ public cNewMonster
+{
+ typedef cNewMonster super;
+
+public:
+ /// Creates a MagmaCube of the specified size; size is 1 .. 3, with 1 being the smallest
+ cNewMagmaCube(int a_Size);
+
+ CLASS_PROTODEF(cNewMagmaCube)
+
+ virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override;
+ int GetSize(void) const { return m_Size; }
+
+protected:
+
+ /// Size of the MagmaCube, 1 .. 3, with 1 being the smallest
+ int m_Size;
+} ;
+
+
+
+