aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/Cow.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/Cow.h')
-rw-r--r--Minecraft.World/Cow.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Minecraft.World/Cow.h b/Minecraft.World/Cow.h
index a1a91aba..24210631 100644
--- a/Minecraft.World/Cow.h
+++ b/Minecraft.World/Cow.h
@@ -16,17 +16,18 @@ public:
public:
Cow(Level *level);
virtual bool useNewAi();
- virtual int getMaxHealth();
protected:
+ virtual void registerAttributes();
virtual int getAmbientSound();
virtual int getHurtSound();
virtual int getDeathSound();
virtual float getSoundVolume();
virtual int getDeathLoot();
+ virtual void playStepSound(int xt, int yt, int zt, int t);
virtual void dropDeathLoot(bool wasKilledByPlayer, int playerBonusLevel);
public:
- virtual bool interact(shared_ptr<Player> player);
+ virtual bool mobInteract(shared_ptr<Player> player);
virtual shared_ptr<AgableMob> getBreedOffspring(shared_ptr<AgableMob> target);
};