Package civquest.map

Examples of civquest.map.MapGenerator


  }

  // Just for adding a sample map as long as this can't be done in a proper way
  private void constructMap() throws ConfigurationException {
    Game game = Game.getGame();
    MapGenerator mg = new MapGenerator(game.getRegistry());
    mg.generate();   
  }
View Full Code Here


  }

  private void constructMap() throws ConfigurationException {
    Game game = Game.getGame();
    MapGenerator mg = new MapGenerator(game.getRegistry());
    mg.generateEmptyMap();       
  }
View Full Code Here

  }

  public void actionPerformed(FunctionActionEvent e) {
    try {
      Game game = Game.getGame();
      MapGenerator mg = new MapGenerator(game.getRegistry());
      Game.setMapData(mg.generate());
     
      civQuest.getGlobalFunctionComponent().scenarioDataChanged(game);
      civQuest.repaint();
    } catch (RulesetException ex) {
      CivQuest.showErrorQuitDialog("There is a problem related to ruleset-loading:", ex)
View Full Code Here

TOP

Related Classes of civquest.map.MapGenerator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.