Cuberite
A lightweight, fast and extensible game server for Minecraft
src
Mobs
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
Globals.h
Bat.h
mtBat
@ mtBat
Definition:
MonsterTypes.h:14
cEntity
Definition:
Entity.h:76
cEntity::SetGravity
void SetGravity(float a_Gravity)
Definition:
Entity.h:282
cEntity::SetAirDrag
void SetAirDrag(float a_AirDrag)
Definition:
Entity.h:286
cBat::cBat
cBat()
Definition:
Bat.cpp:8
Generated on Fri Oct 25 2024 05:01:15 for Cuberite by
1.9.1