public SimulationOptions getSimulationOptionsCopy() {
   SimulationOptions ret = new SimulationOptions();
   ret.setAgent(getAgent());
   ret.setLevelDifficulty(getLevelDifficulty());
   ret.setLevelLength(getLevelLength());
   ret.setLevelRandSeed(getLevelRandSeed());
   ret.setLevelType(getLevelType());
   // ret.setLevelType(2);
   //        ret.setMarioComponent(marioComponent);
   ret.setVisualization(isVisualization());
   ret.setPauseWorld(isPauseWorld());
   ret.setPowerRestoration(isPowerRestoration());
   ret.setMaxAttempts(getMaxAttempts());
   // ret.setMaxAttempts(3);
   ret.setMarioMode(getMarioMode());
   // ret.setMarioMode();
   ret.setTimeLimit(getTimeLimit());
   ret.setZLevelEnemies(getZLevelEnemies());
   ret.setZLevelMap(getZLevelMap());
   return ret;
 }
Exemplo n.º 2
0
 public SimulationOptions getSimulationOptionsCopy() {
   SimulationOptions ret = new SimulationOptions();
   ret.setAgent(getAgent());
   ret.setLevelDifficulty(getLevelDifficulty());
   ret.setLevelLength(getLevelLength());
   ret.setLevelHeight(getLevelHeight());
   ret.setLevelRandSeed(getLevelRandSeed());
   ret.setLevelType(getLevelType());
   //        ret.setMarioComponent(marioComponent);
   ret.setVisualization(isVisualization());
   ret.setPauseWorld(isPauseWorld());
   ret.setPowerRestoration(isPowerRestoration());
   ret.setMarioMode(getMarioMode());
   ret.setTimeLimit(getTimeLimit());
   ret.setZLevelEnemies(getZLevelEnemies());
   ret.setZLevelScene(getZLevelScene());
   ret.setMarioInvulnerable(isMarioInvulnerable());
   ret.setDeadEndsCount(getDeadEndsCount());
   ret.setCannonsCount(getCannonsCount());
   ret.setHillStraightCount(getHillStraightCount());
   ret.setTubesCount(getTubesCount());
   ret.setBlocksCount(getBlocksCount());
   ret.setCoinsCount(getCoinsCount());
   ret.setGapsCount(getGapsCount());
   ret.setHiddenBlocksCount(getHiddenBlocksCount());
   ret.setEnemiesEnabled(isEnemiesEnabled());
   //        ret.setCurrentTrial(getCurrentTrial());
   return ret;
 }