summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authortonibm19 <tonibm19@gmail.com>2013-11-08 14:04:41 +0100
committertonibm19 <tonibm19@gmail.com>2013-11-08 14:04:41 +0100
commit20d9886847ead593b66bbef779bb4ddda3a3abdd (patch)
tree9c8972e6a3b38f1cab293f2f4a3791105799198a /source
parentNow chickens can drop eggs. (diff)
downloadcuberite-20d9886847ead593b66bbef779bb4ddda3a3abdd.tar
cuberite-20d9886847ead593b66bbef779bb4ddda3a3abdd.tar.gz
cuberite-20d9886847ead593b66bbef779bb4ddda3a3abdd.tar.bz2
cuberite-20d9886847ead593b66bbef779bb4ddda3a3abdd.tar.lz
cuberite-20d9886847ead593b66bbef779bb4ddda3a3abdd.tar.xz
cuberite-20d9886847ead593b66bbef779bb4ddda3a3abdd.tar.zst
cuberite-20d9886847ead593b66bbef779bb4ddda3a3abdd.zip
Diffstat (limited to 'source')
-rw-r--r--source/Mobs/Chicken.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/Mobs/Chicken.h b/source/Mobs/Chicken.h
index 2f674e908..6505a4788 100644
--- a/source/Mobs/Chicken.h
+++ b/source/Mobs/Chicken.h
@@ -18,8 +18,13 @@ public:
CLASS_PROTODEF(cChicken);
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override;
-} ;
+ virtual void Tick(float a_Dt, cChunk & a_Chunk) override;
+
+private:
+ int m_DropEggCount;
+} ;
+