diff options
author | Mattes D <github@xoft.cz> | 2015-07-31 16:49:10 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-07-31 16:49:10 +0200 |
commit | 6e4122e551eeb41d3e950b363dd837d5586fe560 (patch) | |
tree | b5ee221d8a8e63c7d3b7868da1db19bf717a6ffd /src/MobCensus.h | |
parent | Merge pull request #2400 from cuberite/OffloadBadChunks (diff) | |
download | cuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.tar cuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.tar.gz cuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.tar.bz2 cuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.tar.lz cuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.tar.xz cuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.tar.zst cuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.zip |
Diffstat (limited to 'src/MobCensus.h')
-rw-r--r-- | src/MobCensus.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/MobCensus.h b/src/MobCensus.h index 3dc7b2a8e..259f987ce 100644 --- a/src/MobCensus.h +++ b/src/MobCensus.h @@ -25,20 +25,20 @@ as side effect 2 : it also know the caps for mobs number and can compare census class cMobCensus { public: - /// Returns the nested proximity counter + /** Returns the nested proximity counter */ cMobProximityCounter & GetProximityCounter(void); // collect an elligible Chunk for Mob Spawning // MG TODO : code the correct rule (not loaded chunk but short distant from players) void CollectSpawnableChunk(cChunk & a_Chunk); - /// Collect a mob - its distance to player, its family ... + /** Collect a mob - its distance to player, its family ... */ void CollectMob(cMonster & a_Monster, cChunk & a_Chunk, double a_Distance); - /// Returns true if the family is capped (i.e. there are more mobs of this family than max) + /** Returns true if the family is capped (i.e. there are more mobs of this family than max) */ bool IsCapped(cMonster::eFamily a_MobFamily); - /// log the results of census to server console + /** log the results of census to server console */ void Logd(void); protected : @@ -47,10 +47,10 @@ protected : std::set<cChunk *> m_EligibleForSpawnChunks; - /// Returns the number of chunks that are elligible for spawning (for now, the loaded, valid chunks) + /** Returns the number of chunks that are elligible for spawning (for now, the loaded, valid chunks) */ int GetNumChunks(); - /// Returns the cap multiplier value of the given monster family + /** Returns the cap multiplier value of the given monster family */ static int GetCapMultiplier(cMonster::eFamily a_MobFamily); } ; |