Search in sources :

Example 1 with TurnRule

use of eidolons.game.module.adventure.rules.TurnRule in project Eidolons by IDemiurge.

the class MacroGameManager method newTurn.

public void newTurn() {
    // factionsTurn();
    SaveMaster.saveInNewThread();
    getGame().getCampaign().modifyParameter(MACRO_PARAMS.HOURS_ELAPSED, TimeMaster.getHoursPerTurn());
    for (MacroParty p : getGame().getParties()) {
        p.newTurn();
    }
    for (MacroObj p : getGame().getPlaces()) {
        p.newTurn();
    }
    for (MacroObj p : getGame().getFactions()) {
        p.newTurn();
    }
    for (MacroObj p : getGame().getRoutes()) {
        p.newTurn();
    }
    for (TurnRule r : getGame().getTurnRules()) {
        r.newTurn();
    }
    TravelMasterOld.newTurn();
    AreaManager.newTurn();
    refreshAll();
}
Also used : TurnRule(eidolons.game.module.adventure.rules.TurnRule) MacroParty(eidolons.game.module.adventure.entity.MacroParty) MacroObj(eidolons.game.module.adventure.entity.MacroObj)

Aggregations

MacroObj (eidolons.game.module.adventure.entity.MacroObj)1 MacroParty (eidolons.game.module.adventure.entity.MacroParty)1 TurnRule (eidolons.game.module.adventure.rules.TurnRule)1