summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Sheep.h
diff options
context:
space:
mode:
authortonibm19 <tonibm19@gmail.com>2014-01-29 19:15:26 +0100
committertonibm19 <tonibm19@gmail.com>2014-01-29 19:15:26 +0100
commit1c1832b6ce08de71e6a46187420d91eacb18d16e (patch)
tree19e8f8dc0cd0fb0dff42e041d6ebbda8f99caf9b /src/Mobs/Sheep.h
parentFixed sheep (diff)
downloadcuberite-1c1832b6ce08de71e6a46187420d91eacb18d16e.tar
cuberite-1c1832b6ce08de71e6a46187420d91eacb18d16e.tar.gz
cuberite-1c1832b6ce08de71e6a46187420d91eacb18d16e.tar.bz2
cuberite-1c1832b6ce08de71e6a46187420d91eacb18d16e.tar.lz
cuberite-1c1832b6ce08de71e6a46187420d91eacb18d16e.tar.xz
cuberite-1c1832b6ce08de71e6a46187420d91eacb18d16e.tar.zst
cuberite-1c1832b6ce08de71e6a46187420d91eacb18d16e.zip
Diffstat (limited to 'src/Mobs/Sheep.h')
-rw-r--r--src/Mobs/Sheep.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Mobs/Sheep.h b/src/Mobs/Sheep.h
index 322b31dd9..402e8e61c 100644
--- a/src/Mobs/Sheep.h
+++ b/src/Mobs/Sheep.h
@@ -21,13 +21,13 @@ public:
virtual void OnRightClicked(cPlayer & a_Player) override;
virtual void Tick(float a_Dt, cChunk & a_Chunk) override;
- bool IsBegging(void) const { return m_IsBegging; }
+ 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; }
private:
-
- bool m_IsBegging;
+
bool m_IsSheared;
int m_WoolColor;
int m_TimeToStopEating;