diff options
author | mgueydan <gueydan.mathieuÃ@gmail.com> | 2013-09-07 20:02:50 +0200 |
---|---|---|
committer | mgueydan <gueydan.mathieuÃ@gmail.com> | 2013-09-07 20:02:50 +0200 |
commit | 1e02e04d2ce528df037d1ca37314ea55e8806c52 (patch) | |
tree | 3013f20a7fe9a418802856a247616c4ab47609fa /source/Mobs/Bat.cpp | |
parent | Adding Water and Lava as transparency blocks (diff) | |
download | cuberite-1e02e04d2ce528df037d1ca37314ea55e8806c52.tar cuberite-1e02e04d2ce528df037d1ca37314ea55e8806c52.tar.gz cuberite-1e02e04d2ce528df037d1ca37314ea55e8806c52.tar.bz2 cuberite-1e02e04d2ce528df037d1ca37314ea55e8806c52.tar.lz cuberite-1e02e04d2ce528df037d1ca37314ea55e8806c52.tar.xz cuberite-1e02e04d2ce528df037d1ca37314ea55e8806c52.tar.zst cuberite-1e02e04d2ce528df037d1ca37314ea55e8806c52.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Mobs/Bat.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/source/Mobs/Bat.cpp b/source/Mobs/Bat.cpp new file mode 100644 index 000000000..ec7ce7bc4 --- /dev/null +++ b/source/Mobs/Bat.cpp @@ -0,0 +1,19 @@ + +#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules + +#include "Bat.h" +#include "../Vector3d.h" +#include "../Chunk.h" + + +cBat::cBat(void) : + // TODO: The size is only a guesstimate, measure in vanilla and fix the size values here + super("Bat", 65, "mob.bat.hurt", "mob.bat.death", 0.7, 0.7) +{ +} + + +cMonster::eFamily cBat::GetMobFamily() const +{ + return mfWater; +} |