Adding Family for monsters : Hostile/Passive/Water/Ambient
This commit is contained in:
19
source/Mobs/Bat.cpp
Normal file
19
source/Mobs/Bat.cpp
Normal file
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user