diff options
author | Mattes D <github@xoft.cz> | 2014-12-21 15:18:42 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-12-21 15:18:42 +0100 |
commit | d4c9daddb89cc8066f3fe36939447acbcf6c7400 (patch) | |
tree | af1a179ba5ac87c652b6e271c99628dee1ceb920 /src/Mobs/Rabbit.h | |
parent | Merge branch 'master' of https://github.com/mc-server/MCServer (diff) | |
parent | Fixed damn empty line with no use (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/Mobs/Rabbit.h | 24 |
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); } + +} ; |