Cuberite
A lightweight, fast and extensible game server for Minecraft
Bat.cpp
Go to the documentation of this file.
1 
2 #include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
3 
4 #include "Bat.h"
5 #include "../Chunk.h"
6 
7 
8 cBat::cBat(void) :
9  Super("Bat", mtBat, "entity.bat.hurt", "entity.bat.death", "entity.bat.ambient", 0.5f, 0.9f)
10 {
11  SetGravity(-2.0f);
12  SetAirDrag(0.05f);
13 }
14 
15 
@ mtBat
Definition: MonsterTypes.h:14
Definition: Entity.h:76
void SetGravity(float a_Gravity)
Definition: Entity.h:282
void SetAirDrag(float a_AirDrag)
Definition: Entity.h:286
cBat()
Definition: Bat.cpp:8