1
0
Files
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 14:04:41 +01: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 14:04:41 +01:00
private:
2013-11-08 17:15:28 +01:00
int m_EggDropTimer;
2013-11-08 14:04:41 +01:00
} ;