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

36 lines
514 B
C
Raw Normal View History

#pragma once
#include "PassiveMonster.h"
class cChicken :
public cPassiveMonster
{
typedef cPassiveMonster super;
2016-02-05 16:45:45 -05:00
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 void GetFollowedItems(cItems & a_Items) override
{
a_Items.Add(E_ITEM_SEEDS);
}
2015-11-06 04:22:40 -05:00
virtual void HandleFalling(void) override;
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
} ;