1
0
cuberite-2a/src/Mobs/Chicken.h
Tycho 2a9664d6ca Initial convertion of a_Dt to std::chrono
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
2015-01-11 21:12:26 +00:00

31 lines
467 B
C++

#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 = nullptr) override;
virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
virtual const cItem GetFollowedItem(void) const override { return cItem(E_ITEM_SEEDS); }
private:
int m_EggDropTimer;
} ;