summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Chicken.h
diff options
context:
space:
mode:
authortonibm19 <tonibm19@gmail.com>2014-01-29 18:08:33 +0100
committertonibm19 <tonibm19@gmail.com>2014-01-29 18:08:33 +0100
commitebe0f9372fa8787b3fe709937ebd3af30810f910 (patch)
treef87c7dc6ca63110233d79f0cad14a506dc67c350 /src/Mobs/Chicken.h
parentLimited sign lines to 15 chars. (diff)
downloadcuberite-ebe0f9372fa8787b3fe709937ebd3af30810f910.tar
cuberite-ebe0f9372fa8787b3fe709937ebd3af30810f910.tar.gz
cuberite-ebe0f9372fa8787b3fe709937ebd3af30810f910.tar.bz2
cuberite-ebe0f9372fa8787b3fe709937ebd3af30810f910.tar.lz
cuberite-ebe0f9372fa8787b3fe709937ebd3af30810f910.tar.xz
cuberite-ebe0f9372fa8787b3fe709937ebd3af30810f910.tar.zst
cuberite-ebe0f9372fa8787b3fe709937ebd3af30810f910.zip
Diffstat (limited to 'src/Mobs/Chicken.h')
-rw-r--r--src/Mobs/Chicken.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Mobs/Chicken.h b/src/Mobs/Chicken.h
index 979c4d8a0..b9cff40d4 100644
--- a/src/Mobs/Chicken.h
+++ b/src/Mobs/Chicken.h
@@ -19,10 +19,13 @@ public:
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override;
virtual void Tick(float a_Dt, cChunk & a_Chunk) override;
+ bool IsBegging (void) const { return m_IsBegging; }
+
private:
int m_EggDropTimer;
+ bool m_IsBegging;
} ;