diff options
author | Mattes D <github@xoft.cz> | 2014-01-25 22:36:47 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-01-25 22:36:47 +0100 |
commit | 5749b40422f03df93b56f8244ca90570417752e6 (patch) | |
tree | a7f46d3fae2a2aeb338e09694f28bd217d29e34e /src/Mobs/Sheep.h | |
parent | Merge pull request #587 from mc-server/mobimprovements (diff) | |
parent | Implemented sheeps eating grass. (diff) | |
download | cuberite-5749b40422f03df93b56f8244ca90570417752e6.tar cuberite-5749b40422f03df93b56f8244ca90570417752e6.tar.gz cuberite-5749b40422f03df93b56f8244ca90570417752e6.tar.bz2 cuberite-5749b40422f03df93b56f8244ca90570417752e6.tar.lz cuberite-5749b40422f03df93b56f8244ca90570417752e6.tar.xz cuberite-5749b40422f03df93b56f8244ca90570417752e6.tar.zst cuberite-5749b40422f03df93b56f8244ca90570417752e6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Sheep.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Mobs/Sheep.h b/src/Mobs/Sheep.h index 8293a2c05..4eee3db1c 100644 --- a/src/Mobs/Sheep.h +++ b/src/Mobs/Sheep.h @@ -19,6 +19,8 @@ public: virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override; virtual void OnRightClicked(cPlayer & a_Player) override; + virtual void Tick(float a_Dt, cChunk & a_Chunk) override; + bool IsSheared(void) const { return m_IsSheared; } int GetFurColor(void) const { return m_WoolColor; } @@ -26,6 +28,7 @@ private: bool m_IsSheared; int m_WoolColor; + int m_TimeToStopEating; } ; |