Fixed formating.
This commit is contained in:
parent
e8f2961eab
commit
be6965b909
28 changed files with 335 additions and 336 deletions
|
@ -88,7 +88,6 @@ class CavePopulator extends AmountPopulator {
|
||||||
*/
|
*/
|
||||||
public function generateCave($x, $y, $z, Random $random) {
|
public function generateCave($x, $y, $z, Random $random) {
|
||||||
$generatedBranches = $random->nextBoundedInt(10) + 1;
|
$generatedBranches = $random->nextBoundedInt(10) + 1;
|
||||||
// echo "Num of branch left => " . $generatedBranches . PHP_EOL;
|
|
||||||
foreach($gen = $this->generateBranch($x, $y, $z, 5, 3, 5, $random) as $v3) {
|
foreach($gen = $this->generateBranch($x, $y, $z, 5, 3, 5, $random) as $v3) {
|
||||||
$generatedBranches --;
|
$generatedBranches --;
|
||||||
if ($generatedBranches <= 0) {
|
if ($generatedBranches <= 0) {
|
||||||
|
|
Loading…
Reference in a new issue