summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Rabbit.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-12-21 15:18:42 +0100
committerMattes D <github@xoft.cz>2014-12-21 15:18:42 +0100
commitd4c9daddb89cc8066f3fe36939447acbcf6c7400 (patch)
treeaf1a179ba5ac87c652b6e271c99628dee1ceb920 /src/Mobs/Rabbit.h
parentMerge branch 'master' of https://github.com/mc-server/MCServer (diff)
parentFixed damn empty line with no use (diff)
downloadcuberite-d4c9daddb89cc8066f3fe36939447acbcf6c7400.tar
cuberite-d4c9daddb89cc8066f3fe36939447acbcf6c7400.tar.gz
cuberite-d4c9daddb89cc8066f3fe36939447acbcf6c7400.tar.bz2
cuberite-d4c9daddb89cc8066f3fe36939447acbcf6c7400.tar.lz
cuberite-d4c9daddb89cc8066f3fe36939447acbcf6c7400.tar.xz
cuberite-d4c9daddb89cc8066f3fe36939447acbcf6c7400.tar.zst
cuberite-d4c9daddb89cc8066f3fe36939447acbcf6c7400.zip
Diffstat (limited to 'src/Mobs/Rabbit.h')
-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..e86c85579
--- /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); }
+
+} ;