summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.h
diff options
context:
space:
mode:
authorMat <mail@mathias.is>2020-03-22 16:50:34 +0100
committerGitHub <noreply@github.com>2020-03-22 16:50:34 +0100
commit9ddf433ae747e0a677d02062deea08a95c29f27b (patch)
tree1e27fcb0fa734b81cc8d538788b519f1eca872cd /src/Mobs/Monster.h
parentIncrease speed of splash potion and expbottle (#4513) (diff)
downloadcuberite-9ddf433ae747e0a677d02062deea08a95c29f27b.tar
cuberite-9ddf433ae747e0a677d02062deea08a95c29f27b.tar.gz
cuberite-9ddf433ae747e0a677d02062deea08a95c29f27b.tar.bz2
cuberite-9ddf433ae747e0a677d02062deea08a95c29f27b.tar.lz
cuberite-9ddf433ae747e0a677d02062deea08a95c29f27b.tar.xz
cuberite-9ddf433ae747e0a677d02062deea08a95c29f27b.tar.zst
cuberite-9ddf433ae747e0a677d02062deea08a95c29f27b.zip
Diffstat (limited to 'src/Mobs/Monster.h')
-rw-r--r--src/Mobs/Monster.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h
index 676e8ebe5..567e13ab2 100644
--- a/src/Mobs/Monster.h
+++ b/src/Mobs/Monster.h
@@ -39,7 +39,7 @@ public:
a_MobType is the type of the mob (also used in the protocol ( http://wiki.vg/Entities#Mobs 2012_12_22))
a_SoundHurt and a_SoundDeath are assigned into m_SoundHurt and m_SoundDeath, respectively
*/
- cMonster(const AString & a_ConfigName, eMonsterType a_MobType, const AString & a_SoundHurt, const AString & a_SoundDeath, double a_Width, double a_Height);
+ cMonster(const AString & a_ConfigName, eMonsterType a_MobType, const AString & a_SoundHurt, const AString & a_SoundDeath, const AString & a_SoundAmbient, double a_Width, double a_Height);
virtual ~cMonster() override;
@@ -267,6 +267,7 @@ protected:
AString m_SoundHurt;
AString m_SoundDeath;
+ AString m_SoundAmbient;
float m_AttackRate;
int m_AttackDamage;
@@ -287,6 +288,8 @@ protected:
bool m_BurnsInDaylight;
double m_RelativeWalkSpeed;
+ int m_AmbientSoundTimer;
+
int m_Age;
int m_AgingTimer;