Added trees to teh SuperflatGenerator

This commit is contained in:
Shoghi Cervantes Pueyo 2013-05-18 11:02:00 +02:00
parent 3c4d4f5cff
commit e81d68c8d0
8 changed files with 46 additions and 30 deletions

View file

@ -57,5 +57,9 @@ class Random{
public function nextBoolean(){
return $this->random->rangeint(0, 1) === 1;
}
public function nextRange($start = 0, $end = PHP_INT_MAX){
return $this->random->rangeint($start, $end);
}
}