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

31 lines
467 B
C
Raw Normal View History

#pragma once
#include "PassiveMonster.h"
class cChicken :
public cPassiveMonster
{
typedef cPassiveMonster super;
public:
cChicken(void);
CLASS_PROTODEF(cChicken)
2014-10-20 16:55:07 -04:00
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;
virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
2013-11-08 08:04:41 -05:00
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
} ;