Package civquest.core

Examples of civquest.core.Game


    this.civQuest = civQuest;
  }

  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) {
View Full Code Here


     * Executes and promotes the change.
     */
    public void execute() {
        notifyBefore();

        Game game = Game.getGame();
        this.field.setHeightLevel(this.heightLevel);
        this.field.setValues(this.vegetation, -1, -1);
        try {
            ((QuadMap) this.map).getFieldView(game, field.getPosition())
                .dataChanged();
View Full Code Here

    return mapData;
  }

  private MapData constructMapData() throws ConfigurationException {
    Game game = Game.getGame();
    if(maptype == FLAT) {
      return new FlatMapData(game, width,height,flatearth,
                   minbigriverwaterflow, registry);
    } else if (maptype == ISOMETRIC) {
      return new IsoMapData(game, width,height,flatearth,
View Full Code Here

TOP

Related Classes of civquest.core.Game

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.