summaryrefslogtreecommitdiffstats
path: root/src/Generating/FinishGen.h
diff options
context:
space:
mode:
authorp-mcgowan <mickeymcgowan@shaw.ca>2014-12-03 09:12:32 +0100
committerp-mcgowan <mickeymcgowan@shaw.ca>2014-12-03 09:12:32 +0100
commit8c3b9ae15b8c590610fb05f32bd19d2d480f3fd6 (patch)
tree9f21b3557bcab6fead31a13903b0594875d6d5b6 /src/Generating/FinishGen.h
parentdoxy-commenting (diff)
downloadcuberite-8c3b9ae15b8c590610fb05f32bd19d2d480f3fd6.tar
cuberite-8c3b9ae15b8c590610fb05f32bd19d2d480f3fd6.tar.gz
cuberite-8c3b9ae15b8c590610fb05f32bd19d2d480f3fd6.tar.bz2
cuberite-8c3b9ae15b8c590610fb05f32bd19d2d480f3fd6.tar.lz
cuberite-8c3b9ae15b8c590610fb05f32bd19d2d480f3fd6.tar.xz
cuberite-8c3b9ae15b8c590610fb05f32bd19d2d480f3fd6.tar.zst
cuberite-8c3b9ae15b8c590610fb05f32bd19d2d480f3fd6.zip
Diffstat (limited to 'src/Generating/FinishGen.h')
-rw-r--r--src/Generating/FinishGen.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Generating/FinishGen.h b/src/Generating/FinishGen.h
index 15dd70e15..e11e6f414 100644
--- a/src/Generating/FinishGen.h
+++ b/src/Generating/FinishGen.h
@@ -318,6 +318,9 @@ protected:
+/** This class populates generated chunks with packs of biome-dependant animals
+Animals: cows, sheep, pigs, mooshrooms, squid, horses, wolves, ocelots
+*/
class cFinishGenPassiveMobs :
public cFinishGen
{
@@ -328,9 +331,9 @@ public:
protected:
cNoise m_Noise;
- int m_AnimalProbability; // Chance, [0..100], that an animal pack will be generated in a chunk
+ int m_AnimalProbability; /** Chance, [0..100], that an animal pack will be generated in a chunk */
- // cFinishGen override:
+ /** cFinishGen override: */
virtual void GenFinish(cChunkDesc & a_ChunkDesc) override;
/** Tries to spawn a mob in the center of the pack. If successful, spawns 0-5 more. */