Package civquest.nation.gameChange

Examples of civquest.nation.gameChange.AddNation.execute()


             AddNation nation1 = new AddNation("The Brainbugs",
                     registry.getSubRegistry("nations"), registry.getSubRegistry("visibility"));
             nation1.execute();
             AddNation nation2 = new AddNation("Die Schneewittchens",
                     registry.getSubRegistry("nations"), registry.getSubRegistry("visibility"));
             nation2.execute();
         } catch (RulesetException rse) {
            System.out.println(rse);
         }
//<<<<<<<<       
       
View Full Code Here


//TODO remove me!
//creating 2 nations...
    try {
             AddNation nation1 = new AddNation("The Brainbugs",
                     registry.getSubRegistry("nations"), registry.getSubRegistry("visibility"));
             nation1.execute();
             AddNation nation2 = new AddNation("Die Schneewittchens",
                     registry.getSubRegistry("nations"), registry.getSubRegistry("visibility"));
             nation2.execute();
         } catch (RulesetException rse) {
            System.out.println(rse);
View Full Code Here

    throws RulesetException {
    Registry nationRegistry = registry.getSubRegistry("nations");
    Registry visRegistry = registry.getSubRegistry("visibility");

    AddNation addNation1 = new AddNation("NationName1", nationRegistry, visRegistry);
    addNation1.execute();

    AddNation addNation2 = new AddNation("Michaelians", nationRegistry, visRegistry);
    addNation2.execute();
   
        Nation nation1 = Game.getGame().getNation(addNation1.getNewNationID());
View Full Code Here

    AddNation addNation1 = new AddNation("NationName1", nationRegistry, visRegistry);
    addNation1.execute();

    AddNation addNation2 = new AddNation("Michaelians", nationRegistry, visRegistry);
    addNation2.execute();
   
        Nation nation1 = Game.getGame().getNation(addNation1.getNewNationID());
        Nation nation2 = Game.getGame().getNation(addNation2.getNewNationID());

    addACity(nation1);
View Full Code Here

        }
       
        try {
            AddNation nation = new AddNation(nationName,
                    this.nationsRegistry, this.visRegistry);
            nation.execute();
            this.editor.addNationsToCombo();
        } catch (RulesetException rse) {
            CivQuest.showErrorQuitDialog("There is a problem related to" +
                    "ruleset-loading:", rse);
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.