summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authormgueydan <gueydan.mathieuÃ@gmail.com>2013-09-07 20:51:31 +0200
committermgueydan <gueydan.mathieuÃ@gmail.com>2013-09-07 21:03:01 +0200
commite844612503e0d78723c76423e93165164505f7ac (patch)
treedb4f4f2d45e0a84b451d7311cc12675b6c38b301 /source
parentrelockating mobs includes (they probably will end somewhere else in order not to recompile world each time you update a mob) (diff)
downloadcuberite-e844612503e0d78723c76423e93165164505f7ac.tar
cuberite-e844612503e0d78723c76423e93165164505f7ac.tar.gz
cuberite-e844612503e0d78723c76423e93165164505f7ac.tar.bz2
cuberite-e844612503e0d78723c76423e93165164505f7ac.tar.lz
cuberite-e844612503e0d78723c76423e93165164505f7ac.tar.xz
cuberite-e844612503e0d78723c76423e93165164505f7ac.tar.zst
cuberite-e844612503e0d78723c76423e93165164505f7ac.zip
Diffstat (limited to '')
-rw-r--r--source/Mobs/Monster.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/Mobs/Monster.h b/source/Mobs/Monster.h
index 357e540b3..594914ca0 100644
--- a/source/Mobs/Monster.h
+++ b/source/Mobs/Monster.h
@@ -89,7 +89,8 @@ public:
virtual void MoveToPosition(const Vector3f & a_Position);
virtual bool ReachedDestination(void);
- char GetMobType(void) const {return m_MobType; }
+ char GetMobType(void) const {return m_MobType; } // MG TODO : see if we can delete this one.
+ eType GetMobTypeAsEnum(void) const {return (eType)m_MobType; } // MG TODO : see if we should store m_MobType as enum instead of char.
virtual eFamily GetMobFamily(void) const = 0;
const char * GetState();