summaryrefslogtreecommitdiffstats
path: root/source/Mobs/Bat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Mobs/Bat.cpp')
-rw-r--r--source/Mobs/Bat.cpp19
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;
+}