summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Sheep.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/Sheep.h')
-rw-r--r--src/Mobs/Sheep.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/Mobs/Sheep.h b/src/Mobs/Sheep.h
index 28e1c7254..4b65d2636 100644
--- a/src/Mobs/Sheep.h
+++ b/src/Mobs/Sheep.h
@@ -1,16 +1,16 @@
#pragma once
-#include "PassiveMonster.h"
+#include "Monster.h"
class cSheep :
- public cPassiveMonster
+ public cMonster
{
- typedef cPassiveMonster super;
+ typedef cMonster super;
public:
@@ -22,11 +22,7 @@ public:
CLASS_PROTODEF(cSheep)
- 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;
-
- virtual const cItem GetFollowedItem(void) const override { return cItem(E_ITEM_WHEAT); }
+ virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) /*override*/;
/** Generates a random color for the sheep like the vanilla server.
The percent's where used are from the wiki: http://minecraft.gamepedia.com/Sheep#Breeding */
@@ -41,7 +37,7 @@ public:
private:
bool m_IsSheared;
int m_WoolColor;
- int m_TimeToStopEating;
+ // int m_TimeToStopEating;
} ;