summaryrefslogtreecommitdiffstats
path: root/src/Mobs
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-06-28 13:19:32 +0200
committerHowaner <franzi.moos@googlemail.com>2014-06-28 13:19:32 +0200
commit11d02a447e45e96e4652f25afc6d040597ad2064 (patch)
tree648742a8589b7536bd101b3a25c16e3c1375870b /src/Mobs
parentFix sheep color's, add shear sound. (diff)
downloadcuberite-11d02a447e45e96e4652f25afc6d040597ad2064.tar
cuberite-11d02a447e45e96e4652f25afc6d040597ad2064.tar.gz
cuberite-11d02a447e45e96e4652f25afc6d040597ad2064.tar.bz2
cuberite-11d02a447e45e96e4652f25afc6d040597ad2064.tar.lz
cuberite-11d02a447e45e96e4652f25afc6d040597ad2064.tar.xz
cuberite-11d02a447e45e96e4652f25afc6d040597ad2064.tar.zst
cuberite-11d02a447e45e96e4652f25afc6d040597ad2064.zip
Diffstat (limited to 'src/Mobs')
-rw-r--r--src/Mobs/Sheep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Mobs/Sheep.h b/src/Mobs/Sheep.h
index 14da81364..21dca7787 100644
--- a/src/Mobs/Sheep.h
+++ b/src/Mobs/Sheep.h
@@ -24,7 +24,10 @@ public:
virtual const cItem GetFollowedItem(void) const override { return cItem(E_ITEM_WHEAT); }
bool IsSheared(void) const { return m_IsSheared; }
+ void SetSheared(bool a_IsSheared) { m_IsSheared = a_IsSheared; }
+
int GetFurColor(void) const { return m_WoolColor; }
+ void SetFurColor(bool a_WoolColor) { m_WoolColor = a_WoolColor; }
private: