summaryrefslogtreecommitdiffstats
path: root/source/Mobs/Wolf.h
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2013-11-10 20:12:30 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2013-11-10 20:12:30 +0100
commite62858ec3d027de8c5c4605913ab6261ec19d624 (patch)
treed1e3427af68ac13f35af69bf53bff2005a21e664 /source/Mobs/Wolf.h
parentThe owner object isn't stored anymore. Instead we use the name of the player. (diff)
downloadcuberite-e62858ec3d027de8c5c4605913ab6261ec19d624.tar
cuberite-e62858ec3d027de8c5c4605913ab6261ec19d624.tar.gz
cuberite-e62858ec3d027de8c5c4605913ab6261ec19d624.tar.bz2
cuberite-e62858ec3d027de8c5c4605913ab6261ec19d624.tar.lz
cuberite-e62858ec3d027de8c5c4605913ab6261ec19d624.tar.xz
cuberite-e62858ec3d027de8c5c4605913ab6261ec19d624.tar.zst
cuberite-e62858ec3d027de8c5c4605913ab6261ec19d624.zip
Diffstat (limited to 'source/Mobs/Wolf.h')
-rw-r--r--source/Mobs/Wolf.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/source/Mobs/Wolf.h b/source/Mobs/Wolf.h
index fb6bb2355..2afca8086 100644
--- a/source/Mobs/Wolf.h
+++ b/source/Mobs/Wolf.h
@@ -28,6 +28,7 @@ public:
bool IsBegging(void) const { return m_bIsBegging; }
bool IsAngry(void) const { return m_bIsAngry; }
AString GetOwner(void) const { return m_bOwner; }
+ int GetCollarColor(void) const { return m_bCollar; }
// Set functions
void SetIsSitting(bool a_IsSitting) { m_bIsSitting = a_IsSitting; }
@@ -38,11 +39,12 @@ public:
private:
- bool m_bIsSitting;
- bool m_bIsTame;
- bool m_bIsBegging;
- bool m_bIsAngry;
+ bool m_bIsSitting;
+ bool m_bIsTame;
+ bool m_bIsBegging;
+ bool m_bIsAngry;
AString m_bOwner;
+ int m_bCollar;
} ;