diff options
author | Mattes D <github@xoft.cz> | 2014-01-29 20:05:38 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-01-29 20:05:38 +0100 |
commit | 07fb1bca23d4c80a9fa32a35fa5b39e517d10247 (patch) | |
tree | 37ce28c7745fb7b7dab768ce8a0780ea75138503 /src/Mobs/Sheep.h | |
parent | Added instructions for ZIP source downloads. (diff) | |
parent | Did what xoft said (diff) | |
download | cuberite-07fb1bca23d4c80a9fa32a35fa5b39e517d10247.tar cuberite-07fb1bca23d4c80a9fa32a35fa5b39e517d10247.tar.gz cuberite-07fb1bca23d4c80a9fa32a35fa5b39e517d10247.tar.bz2 cuberite-07fb1bca23d4c80a9fa32a35fa5b39e517d10247.tar.lz cuberite-07fb1bca23d4c80a9fa32a35fa5b39e517d10247.tar.xz cuberite-07fb1bca23d4c80a9fa32a35fa5b39e517d10247.tar.zst cuberite-07fb1bca23d4c80a9fa32a35fa5b39e517d10247.zip |
Diffstat (limited to 'src/Mobs/Sheep.h')
-rw-r--r-- | src/Mobs/Sheep.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Mobs/Sheep.h b/src/Mobs/Sheep.h index 4eee3db1c..402e8e61c 100644 --- a/src/Mobs/Sheep.h +++ b/src/Mobs/Sheep.h @@ -21,6 +21,8 @@ public: virtual void OnRightClicked(cPlayer & a_Player) override; virtual void Tick(float a_Dt, cChunk & a_Chunk) override; + virtual const cItem GetFollowedItem(void) const override { return cItem(E_ITEM_WHEAT); } + bool IsSheared(void) const { return m_IsSheared; } int GetFurColor(void) const { return m_WoolColor; } |