Uses of Class
dip.world.TurnState

Packages that use TurnState
dip.gui   
dip.gui.map   
dip.gui.order   
dip.gui.report   
dip.gui.undo   
dip.order   
dip.process   
dip.tool   
dip.world   
 

Uses of TurnState in dip.gui
 

Fields in dip.gui declared as TurnState
protected  TurnState OrderDisplayPanel.turnState
           
 

Methods in dip.gui that return TurnState
 TurnState ClientFrame.getTurnState()
          Returns the current TurnState.
 

Methods in dip.gui with parameters of type TurnState
 void OrderDisplayPanel.ODPPropertyListener.actionTurnstateChanged(TurnState ts)
           
 void F2FOrderDisplayPanel.F2FPropertyListener.actionTurnstateChanged(TurnState ts)
           
 void F2FOrderDisplayPanel.F2FPropertyListener.actionTurnstateResolved(TurnState ts)
           
 void F2FOrderDisplayPanel.F2FPropertyListener.actionTurnstateAdded(TurnState ts)
           
 void ClientFrame.fireTurnstateChanged(TurnState ts)
          Indicates to listeners what the current TurnState is.
 void ClientFrame.fireTurnstateResolved(TurnState ts)
          Indicates that the given TurnState has been Resolved (adjudicated).
 void ClientFrame.fireTurnStateAdded(TurnState newTS)
          Fired if we have added a turnstate
 void AbstractCFPListener.actionTurnstateChanged(TurnState ts)
          Invoked when a TurnState changes
 void AbstractCFPListener.actionTurnstateAdded(TurnState ts)
          Invoked when a TurnState is added to the World
 void AbstractCFPListener.actionTurnstateResolved(TurnState ts)
          Invoked when a TurnState has been resolved
 

Uses of TurnState in dip.gui.map
 

Fields in dip.gui.map declared as TurnState
protected  TurnState RenderCommandFactory.RCSetTurnstate.ts
           
 

Methods in dip.gui.map that return TurnState
 TurnState MapPanel.getTurnState()
          Get the current TurnState
 

Methods in dip.gui.map with parameters of type TurnState
abstract  RenderCommandFactory.RCSetTurnstate RenderCommandFactory.createRCSetTurnstate(MapRenderer2 mr, TurnState ts)
           
 RenderCommandFactory.RCSetTurnstate DMR2RenderCommandFactory.createRCSetTurnstate(MapRenderer2 mr, TurnState ts)
           
protected  void DefaultMapRenderer2.setTurnState(TurnState ts)
          Sets the current TurnState object for the renderer.
 

Constructors in dip.gui.map with parameters of type TurnState
RenderCommandFactory.RCSetTurnstate(MapRenderer2 mr, TurnState ts)
          Constructor
DMR2RenderCommandFactory.RCSetTurnstate(MapRenderer2 dmr2, TurnState ts)
           
DefaultMapRenderer2.DMRMapInfo(TurnState ts)
           
 

Uses of TurnState in dip.gui.order
 

Fields in dip.gui.order declared as TurnState
protected  TurnState GUIOrder.MapInfo.ts
           
 

Methods in dip.gui.order that return TurnState
 TurnState GUIOrder.StateInfo.getTurnState()
           
 TurnState GUIOrder.MapInfo.getTurnState()
          Get TurnState (to get Orders, Phase, Position, etc.)
 

Methods in dip.gui.order with parameters of type TurnState
 void GUIOrder.StateInfo.setTurnState(TurnState turnState)
           
 

Constructors in dip.gui.order with parameters of type TurnState
GUIOrder.MapInfo(TurnState ts)
          Creates a MapInfo object
 

Uses of TurnState in dip.gui.report
 

Methods in dip.gui.report with parameters of type TurnState
static java.lang.String StateWriter.stateToHTML(ClientFrame cf, TurnState ts)
          Displays a summary of the current game state as HTML.
static void StateWriter.displayDialog(ClientFrame clientFrame, TurnState ts)
          Returns the HTML-encoded current state inside a dialog.
static java.lang.String ResultWriter.resultsToHTML(TurnState ts, OrderFormatOptions orderFormatOptions)
          Displays a summary of the current results as HTML.
static void ResultWriter.displayDialog(ClientFrame clientFrame, TurnState ts, OrderFormatOptions orderFormatOptions)
          Returns the HTML-encoded adjudication results inside a dialog.
 

Uses of TurnState in dip.gui.undo
 

Constructors in dip.gui.undo with parameters of type TurnState
UndoResolve(UndoRedoManager urm, TurnState resolved, TurnState next)
          Create an UndoResolve object.
 

Uses of TurnState in dip.order
 

Methods in dip.order with parameters of type TurnState
 void Waive.validate(TurnState state, ValidationOptions valOpts, RuleOptions ruleOpts)
          Very little is done to validate Waive orders; we only check the power and season.
 void Support.validate(TurnState state, ValidationOptions valOpts, RuleOptions ruleOpts)
           
 void Retreat.validate(TurnState state, ValidationOptions valOpts, RuleOptions ruleOpts)
           
 void Remove.validate(TurnState state, ValidationOptions valOpts, RuleOptions ruleOpts)
           
 Order OrderParser.parse(OrderFactory orderFactory, java.lang.String text, Power power, TurnState turnState, boolean locked, boolean guess)
          Parse an order to an Order object.
 void Orderable.validate(TurnState state, ValidationOptions valOpts, RuleOptions ruleOpts)
          Validate the order; state-independent.
 void Order.validate(TurnState state, ValidationOptions valOpts, RuleOptions ruleOpts)
          Validate the order.
protected  void Order.checkPower(Power power, TurnState turnState, boolean checkIfActive)
          Validates the given Power
protected  void Order.checkSeasonRetreat(TurnState state, java.lang.String orderName)
          Convenience method to check that we are in the Retreat phase
protected  void Order.checkSeasonAdjustment(TurnState state, java.lang.String orderName)
          Convenience method to check that we are in the Adjustment phase
protected  void Order.checkSeasonMovement(TurnState state, java.lang.String orderName)
          Convenience method to check that we are in the Movement phase
 void Move.validate(TurnState state, ValidationOptions valOpts, RuleOptions ruleOpts)
           
 void Hold.validate(TurnState state, ValidationOptions valOpts, RuleOptions ruleOpts)
           
 void Disband.validate(TurnState state, ValidationOptions valOpts, RuleOptions ruleOpts)
           
 void DefineState.validate(TurnState state, ValidationOptions valOpts, RuleOptions ruleOpts)
          DefineState orders will always fail validation.
 void Convoy.validate(TurnState state, ValidationOptions valOpts, RuleOptions ruleOpts)
           
 void Build.validate(TurnState state, ValidationOptions valOpts, RuleOptions ruleOpts)
          Builds: Builds are valid if: supply center is owned by this power supply centers is home to this power province contains no unit can build unit of that type in said province if fleet specified, coast must be valid default to army if no type specified AND supply center is inland otherwise build fails.
 

Uses of TurnState in dip.process
 

Methods in dip.process that return TurnState
 TurnState StdAdjudicator.getTurnState()
          Get the TurnState
 TurnState StdAdjudicator.getNextTurnState()
          This may return null, if the game has ended and victory conditions have been met during the Adjustment phase.
 TurnState Adjudicator.getTurnState()
          Get the TurnState that is currently being adjudicated, and that will have its results and flags set appropriately when adjudication is complete.
 TurnState Adjudicator.getNextTurnState()
          Returns the next TurnState, or null if an error occured or the game has been won.
 

Methods in dip.process with parameters of type TurnState
static Adjustment.AdjustmentInfo Adjustment.getAdjustmentInfo(TurnState turnState, RuleOptions ruleOpts, Power power)
          Determines AdjustmentInfo for a given power Note that this will work during any phase.
static Adjustment.AdjustmentInfoMap Adjustment.getAdjustmentInfo(TurnState turnState, RuleOptions ruleOpts, Power[] powers)
          Determines AdjustmentInfo for all Powers; Note that this will work during any phase.
 

Constructors in dip.process with parameters of type TurnState
StdAdjudicator(OrderFactory orderFactory, TurnState ts)
          Create a Adjudicator for the Standard rules, that will evaluate all Orders for the current TurnState.
RetreatChecker(TurnState current)
          Create a RetreatChecker.
RetreatChecker(TurnState current, java.util.List previousTurnStateResults)
          Create a RetreatChecker.
 

Uses of TurnState in dip.tool
 

Methods in dip.tool that return TurnState
 TurnState ToolProxyImpl.getCurrentTurnState()
           
 TurnState ToolProxy.getCurrentTurnState()
          Convenience method: gets the current TurnState from the current World, or null
 

Uses of TurnState in dip.world
 

Methods in dip.world that return TurnState
 TurnState World.getInitialTurnState()
          Gets the first TurnState object
 TurnState World.getLastTurnState()
          Gets the most current (last in the list) TurnState.
 TurnState World.getTurnState(Phase phase)
          Gets the TurnState associated with the specified Phase
 TurnState World.getNextTurnState(TurnState state)
          Gets the TurnState that comes after this phase (if it exists).
 TurnState World.getPreviousTurnState(TurnState state)
          Gets the TurnState that comes before the specified phase.
 

Methods in dip.world with parameters of type TurnState
 TurnState World.getNextTurnState(TurnState state)
          Gets the TurnState that comes after this phase (if it exists).
 TurnState World.getPreviousTurnState(TurnState state)
          Gets the TurnState that comes before the specified phase.
 void World.setTurnState(TurnState turnState)
          If a TurnState with the given phase already exists, it is replaced.
 void World.removeTurnState(TurnState turnState)
          Removes a turnstate from the world.
 boolean VictoryConditions.evaluate(TurnState turnState, Adjustment.AdjustmentInfoMap adjMap)
          Evaluates the victory conditions.
 



Copyright 2002-2004 Zachary DelProposto / jDip Development Team. All Rights Reserved.