summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Rabbit.h
diff options
context:
space:
mode:
authorMasy98 <masy@antheruscraft.de>2014-12-20 10:31:34 +0100
committerMasy98 <masy@antheruscraft.de>2014-12-20 10:31:34 +0100
commit6e8e1c6d8da3d5a0f5ca39f6f18d88c2ca6c1e71 (patch)
tree0c7e7083444d2dc9c797c7a962fc05185c03eb1e /src/Mobs/Rabbit.h
parentMerge pull request #1680 from Masy98/entities (diff)
downloadcuberite-6e8e1c6d8da3d5a0f5ca39f6f18d88c2ca6c1e71.tar
cuberite-6e8e1c6d8da3d5a0f5ca39f6f18d88c2ca6c1e71.tar.gz
cuberite-6e8e1c6d8da3d5a0f5ca39f6f18d88c2ca6c1e71.tar.bz2
cuberite-6e8e1c6d8da3d5a0f5ca39f6f18d88c2ca6c1e71.tar.lz
cuberite-6e8e1c6d8da3d5a0f5ca39f6f18d88c2ca6c1e71.tar.xz
cuberite-6e8e1c6d8da3d5a0f5ca39f6f18d88c2ca6c1e71.tar.zst
cuberite-6e8e1c6d8da3d5a0f5ca39f6f18d88c2ca6c1e71.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Rabbit.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/Mobs/Rabbit.h b/src/Mobs/Rabbit.h
new file mode 100644
index 000000000..5ea03d09b
--- /dev/null
+++ b/src/Mobs/Rabbit.h
@@ -0,0 +1,24 @@
+
+#pragma once
+
+#include "PassiveMonster.h"
+
+
+
+
+
+class cRabbit :
+ public cPassiveMonster
+{
+ typedef cPassiveMonster super;
+
+public:
+ cRabbit();
+
+ CLASS_PROTODEF(cRabbit)
+
+ virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;
+
+ virtual const cItem GetFollowedItem(void) const override { return cItem(E_ITEM_CARROT); }
+
+} ; \ No newline at end of file