2012-12-21 06:04:08 -05:00
|
|
|
|
2012-06-14 09:06:06 -04:00
|
|
|
#pragma once
|
|
|
|
|
2012-09-23 16:53:08 -04:00
|
|
|
#include "PassiveMonster.h"
|
2012-06-14 09:06:06 -04:00
|
|
|
|
2012-12-21 06:04:08 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class cPig :
|
|
|
|
public cPassiveMonster
|
2012-06-14 09:06:06 -04:00
|
|
|
{
|
2012-12-21 06:04:08 -05:00
|
|
|
typedef cPassiveMonster super;
|
|
|
|
|
2012-06-14 09:06:06 -04:00
|
|
|
public:
|
2012-12-21 06:04:08 -05:00
|
|
|
cPig(void);
|
|
|
|
|
2012-12-21 07:21:20 -05:00
|
|
|
CLASS_PROTODEF(cPig);
|
2012-12-21 06:04:08 -05:00
|
|
|
|
2013-07-01 06:39:56 -04:00
|
|
|
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override;
|
2013-10-08 14:20:49 -04:00
|
|
|
virtual void OnRightClicked(cPlayer & a_Player) override;
|
2014-06-20 04:50:21 -04:00
|
|
|
virtual void Tick(float a_Dt, cChunk & a_Chunk) override;
|
2014-01-29 13:15:26 -05:00
|
|
|
|
|
|
|
virtual const cItem GetFollowedItem(void) const override { return cItem(E_ITEM_CARROT); }
|
2014-01-29 12:08:33 -05:00
|
|
|
|
2013-10-08 14:20:49 -04:00
|
|
|
bool IsSaddled(void) const { return m_bIsSaddled; }
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
bool m_bIsSaddled;
|
|
|
|
|
2012-12-21 06:04:08 -05:00
|
|
|
} ;
|
|
|
|
|
|
|
|
|
2012-06-14 09:06:06 -04:00
|
|
|
|
|
|
|
|