Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include <MobProximityCounter.h>
Classes | |
struct | sDistanceAndChunk |
struct | sIterablePair |
struct | sMonsterAndChunk |
Public Types | |
typedef std::multimap< double, sMonsterAndChunk > | tDistanceToMonster |
typedef std::map< cEntity *, sDistanceAndChunk > | tMonsterToDistance |
Public Member Functions | |
void | CollectMob (cEntity &a_Monster, cChunk &a_Chunk, double a_Distance) |
sIterablePair | getMobWithinThosesDistances (double a_DistanceMin, double a_DistanceMax) |
Protected Member Functions | |
void | convertMaps () |
Protected Attributes | |
tDistanceToMonster | m_DistanceToMonster |
std::set< cChunk * > | m_EligibleForSpawnChunks |
tMonsterToDistance | m_MonsterToDistance |
Definition at line 11 of file MobProximityCounter.h.
typedef std::multimap<double, sMonsterAndChunk> cMobProximityCounter::tDistanceToMonster |
Definition at line 30 of file MobProximityCounter.h.
typedef std::map<cEntity *, sDistanceAndChunk> cMobProximityCounter::tMonsterToDistance |
Definition at line 29 of file MobProximityCounter.h.
Definition at line 13 of file MobProximityCounter.cpp.
|
protected |
Definition at line 43 of file MobProximityCounter.cpp.
cMobProximityCounter::sIterablePair cMobProximityCounter::getMobWithinThosesDistances | ( | double | a_DistanceMin, |
double | a_DistanceMax | ||
) |
Definition at line 55 of file MobProximityCounter.cpp.
|
protected |
Definition at line 37 of file MobProximityCounter.h.
|
protected |
Definition at line 40 of file MobProximityCounter.h.
|
protected |
Definition at line 34 of file MobProximityCounter.h.