Adding a getType in Monster that return an enum instead of an int or char
This commit is contained in:
parent
2361a5dc41
commit
e844612503
@ -89,7 +89,8 @@ public:
|
|||||||
virtual void MoveToPosition(const Vector3f & a_Position);
|
virtual void MoveToPosition(const Vector3f & a_Position);
|
||||||
virtual bool ReachedDestination(void);
|
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;
|
virtual eFamily GetMobFamily(void) const = 0;
|
||||||
|
|
||||||
const char * GetState();
|
const char * GetState();
|
||||||
|
Loading…
Reference in New Issue
Block a user