diff options
Diffstat (limited to 'src/Mobs/Pig.h')
-rw-r--r-- | src/Mobs/Pig.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/Mobs/Pig.h b/src/Mobs/Pig.h index 534a0ca6f..0d62b085e 100644 --- a/src/Mobs/Pig.h +++ b/src/Mobs/Pig.h @@ -1,27 +1,23 @@ #pragma once -#include "PassiveMonster.h" +#include "Monster.h" class cPig : - public cPassiveMonster + public cMonster { - typedef cPassiveMonster super; + typedef cMonster super; public: cPig(void); CLASS_PROTODEF(cPig) - 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_CARROT); } + virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) /*override*/; bool IsSaddled(void) const { return m_bIsSaddled; } |