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 cChicken :
|
|
|
|
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
|
|
|
cChicken(void);
|
|
|
|
|
2012-12-21 07:21:20 -05:00
|
|
|
CLASS_PROTODEF(cChicken);
|
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-11-08 08:04:41 -05: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_SEEDS); }
|
2014-01-29 12:08:33 -05:00
|
|
|
|
2013-11-08 08:04:41 -05:00
|
|
|
private:
|
2012-12-21 06:04:08 -05:00
|
|
|
|
2013-11-08 11:15:28 -05:00
|
|
|
int m_EggDropTimer;
|
2013-11-08 08:04:41 -05:00
|
|
|
} ;
|
|
|
|
|
2012-06-14 09:06:06 -04:00
|
|
|
|
|
|
|
|