This class is used to collect information, for each Mob, what is the distance of the closest player i...
bool IsCapped(cMonster::eFamily a_MobFamily)
Returns true if the family is capped (i.e.
int GetNumChunks()
Returns the number of chunks that are elligible for spawning (for now, the loaded,...
cMobProximityCounter & GetProximityCounter(void)
Returns the nested proximity counter.
static int GetCapMultiplier(cMonster::eFamily a_MobFamily)
Returns the cap multiplier value of the given monster family.
void CollectSpawnableChunk(cChunk &a_Chunk)
std::set< cChunk * > m_EligibleForSpawnChunks
cMobProximityCounter m_ProximityCounter
cMobFamilyCollecter m_MobFamilyCollecter
void CollectMob(cMonster &a_Monster, cChunk &a_Chunk, double a_Distance)
Collect a mob - its distance to player, its family ...
void Logd(void)
log the results of census to server console
This class is used to collect the list of mobs for each family.