Ejemplo n.º 1
0
 /**
  * Setup continents for the map
  *
  * @param \Mastercoding\Conquest\Object\Map $map
  * @param \Mastercoding\Conquest\Command\SetupMap\Continents
  * $continentsCommand
  *
  */
 public function setupContinents(\Mastercoding\Conquest\Object\Map $map, \Mastercoding\Conquest\Command\SetupMap\Continents $continentsCommand)
 {
     foreach ($continentsCommand->getContinents() as $continent) {
         $map->addContinent($continent);
     }
 }