diff options
author | madmaxoft <github@xoft.cz> | 2013-09-16 11:42:20 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-09-16 11:42:20 +0200 |
commit | 9f7b2e259d554ba3529f9faac7a0146fe9a3d6b3 (patch) | |
tree | 0c94c4c41cb75f85276e06dd1da42d72387a54a9 /source/Mobs/Monster.h | |
parent | APIDump: All cWorld functions are documented. (diff) | |
download | cuberite-9f7b2e259d554ba3529f9faac7a0146fe9a3d6b3.tar cuberite-9f7b2e259d554ba3529f9faac7a0146fe9a3d6b3.tar.gz cuberite-9f7b2e259d554ba3529f9faac7a0146fe9a3d6b3.tar.bz2 cuberite-9f7b2e259d554ba3529f9faac7a0146fe9a3d6b3.tar.lz cuberite-9f7b2e259d554ba3529f9faac7a0146fe9a3d6b3.tar.xz cuberite-9f7b2e259d554ba3529f9faac7a0146fe9a3d6b3.tar.zst cuberite-9f7b2e259d554ba3529f9faac7a0146fe9a3d6b3.zip |
Diffstat (limited to 'source/Mobs/Monster.h')
-rw-r--r-- | source/Mobs/Monster.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/Mobs/Monster.h b/source/Mobs/Monster.h index 5f33d4450..82fc4b6fc 100644 --- a/source/Mobs/Monster.h +++ b/source/Mobs/Monster.h @@ -100,7 +100,9 @@ public: virtual void InStateEscaping(float a_Dt); virtual void Attack(float a_Dt); - int GetMobType() {return m_MobType;} + + int GetMobType() { return m_MobType; } // tolua_export + int GetAttackRate(){return (int)m_AttackRate;} void SetAttackRate(int ar); void SetAttackRange(float ar); |