Пример #1
0
 public function generateMonsterForArea(Area $area)
 {
     $nbMonster = rand(30, 30);
     for ($i = 0; $i < $nbMonster; $i++) {
         $area->addMonster($this->generateMonster());
     }
 }