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", 0.5, 0.9)
10 {
11  SetGravity(-2.0f);
12  SetAirDrag(0.05f);
13 }
14 
15 
cBat(void)
Definition: Bat.cpp:8
void SetGravity(float a_Gravity)
Definition: Entity.h:288
Definition: Entity.h:73
void SetAirDrag(float a_AirDrag)
Definition: Entity.h:292