1
0
cuberite-2a/src/Mobs/Chicken.h

31 lines
445 B
C
Raw Normal View History

#pragma once
#include "PassiveMonster.h"
class cChicken :
public cPassiveMonster
{
typedef cPassiveMonster super;
public:
cChicken(void);
CLASS_PROTODEF(cChicken);
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;
virtual const cItem GetFollowedItem(void) const override { return cItem(E_ITEM_SEEDS); }
2013-11-08 08:04:41 -05:00
private:
2013-11-08 11:15:28 -05:00
int m_EggDropTimer;
2013-11-08 08:04:41 -05:00
} ;