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

31 lines
444 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 13:04:41 +00: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 13:04:41 +00:00
private:
2013-11-08 16:15:28 +00:00
int m_EggDropTimer;
2013-11-08 13:04:41 +00:00
} ;