summaryrefslogtreecommitdiffstats
path: root/source/Mobs/Bat.cpp
diff options
context:
space:
mode:
authorluksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-01 11:56:47 +0100
committerluksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-01 11:56:47 +0100
commit77064aa486822be1ba593e171725c811e6987981 (patch)
treed55e4fb8d15aedc31c6fe605cd8637f24e91624f /source/Mobs/Bat.cpp
parentPickups no longer crash clients. (diff)
downloadcuberite-77064aa486822be1ba593e171725c811e6987981.tar
cuberite-77064aa486822be1ba593e171725c811e6987981.tar.gz
cuberite-77064aa486822be1ba593e171725c811e6987981.tar.bz2
cuberite-77064aa486822be1ba593e171725c811e6987981.tar.lz
cuberite-77064aa486822be1ba593e171725c811e6987981.tar.xz
cuberite-77064aa486822be1ba593e171725c811e6987981.tar.zst
cuberite-77064aa486822be1ba593e171725c811e6987981.zip
Diffstat (limited to '')
-rw-r--r--source/Mobs/Bat.cpp45
1 files changed, 45 insertions, 0 deletions
diff --git a/source/Mobs/Bat.cpp b/source/Mobs/Bat.cpp
new file mode 100644
index 000000000..4cc74ec2b
--- /dev/null
+++ b/source/Mobs/Bat.cpp
@@ -0,0 +1,45 @@
+
+#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
+
+#include "Bat.h"
+
+
+
+
+
+cBat::cBat()
+{
+ m_MobType = 65;
+ GetMonsterConfig("Bat");
+}
+
+
+
+
+
+cBat::~cBat()
+{
+}
+
+
+
+
+
+bool cBat::IsA( const char* a_EntityType )
+{
+ if( strcmp( a_EntityType, "cBat" ) == 0 ) return true;
+ return cMonster::IsA( a_EntityType );
+}
+
+
+
+
+
+void cBat::KilledBy( cEntity* a_Killer )
+{
+ cMonster::KilledBy( a_Killer );
+}
+
+
+
+