summaryrefslogtreecommitdiffstats
path: root/src/MobCensus.h
diff options
context:
space:
mode:
authorJulian Laubstein <julianlaubstein@yahoo.de>2015-07-31 19:26:33 +0200
committerJulian Laubstein <julianlaubstein@yahoo.de>2015-07-31 19:26:33 +0200
commitd19cde93fa3344f318fb0d4ffbf5bb0397a51a75 (patch)
treeb5ee221d8a8e63c7d3b7868da1db19bf717a6ffd /src/MobCensus.h
parentMerge pull request #2400 from cuberite/OffloadBadChunks (diff)
parentUnified the doxy-comment format. (diff)
downloadcuberite-d19cde93fa3344f318fb0d4ffbf5bb0397a51a75.tar
cuberite-d19cde93fa3344f318fb0d4ffbf5bb0397a51a75.tar.gz
cuberite-d19cde93fa3344f318fb0d4ffbf5bb0397a51a75.tar.bz2
cuberite-d19cde93fa3344f318fb0d4ffbf5bb0397a51a75.tar.lz
cuberite-d19cde93fa3344f318fb0d4ffbf5bb0397a51a75.tar.xz
cuberite-d19cde93fa3344f318fb0d4ffbf5bb0397a51a75.tar.zst
cuberite-d19cde93fa3344f318fb0d4ffbf5bb0397a51a75.zip
Diffstat (limited to 'src/MobCensus.h')
-rw-r--r--src/MobCensus.h12
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);
} ;