summaryrefslogtreecommitdiffstats
path: root/src/Mobs/NewMonster.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Mobs/NewMonster.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Mobs/NewMonster.h b/src/Mobs/NewMonster.h
index dbc1447ec..9e79d9312 100644
--- a/src/Mobs/NewMonster.h
+++ b/src/Mobs/NewMonster.h
@@ -54,9 +54,13 @@ public:
mtZombiePigman = E_META_SPAWN_EGG_ZOMBIE_PIGMAN,
};
+protected:
+ eType m_MobType;
+public:
cNewMonster(const AString & a_ConfigName, eType a_MobType, const AString & a_SoundHurt, const AString & a_SoundDeath, double a_Width, double a_Height);
+ virtual void SpawnOn(cClientHandle & a_ClientHandle) override;
+ eType GetMobType() const { return m_MobType; }
protected:
- eType m_MobType;
AString m_SoundHurt;
AString m_SoundDeath;