diff options
Diffstat (limited to 'src/Mobs/Old Mobs/Chicken.h')
-rw-r--r-- | src/Mobs/Old Mobs/Chicken.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/Mobs/Old Mobs/Chicken.h b/src/Mobs/Old Mobs/Chicken.h new file mode 100644 index 000000000..2a6c4fdb5 --- /dev/null +++ b/src/Mobs/Old Mobs/Chicken.h @@ -0,0 +1,30 @@ +#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*/; + virtual void Tick(float a_Dt, cChunk & a_Chunk) /*override*/; + + virtual const cItem GetFollowedItem(void) const /*override*/ { return cItem(E_ITEM_SEEDS); } + +private: + + int m_EggDropTimer; +} ; + + + |