Cuberite
A lightweight, fast and extensible game server for Minecraft
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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"
, 0.5, 0.9)
10
{
11
SetGravity
(-2.0f);
12
SetAirDrag
(0.05f);
13
}
14
15
cBat::cBat
cBat(void)
Definition:
Bat.cpp:8
Bat.h
cEntity::SetGravity
void SetGravity(float a_Gravity)
Definition:
Entity.h:288
Globals.h
mtBat
Definition:
MonsterTypes.h:14
cEntity
Definition:
Entity.h:73
cEntity::SetAirDrag
void SetAirDrag(float a_AirDrag)
Definition:
Entity.h:292
Generated on Mon Feb 24 2020 09:04:15 for Cuberite by
1.8.11