de.hagenah.diplomacy.diptool
Class DipTurn

java.lang.Object
  extended by de.hagenah.diplomacy.game.Turn
      extended by de.hagenah.diplomacy.diptool.DipTurn
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public class DipTurn
extends Turn

A turn.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class de.hagenah.diplomacy.game.Turn
NUMBER_FIRST, TOSTRING_BUILDS, TOSTRING_CENTERS, TOSTRING_CSS, TOSTRING_DISLODGEDUNITS, TOSTRING_HTML, TOSTRING_ORDERS, TOSTRING_SHORT
 
Method Summary
 boolean areOrdersSend()
          Are the orders of this turn send or copied to the clipboard?
 DipGame getGame()
          Returns the game.
 boolean isComplete()
          Returns true if the turn is complete (for the most recent turn orders are not necessary).
 boolean isMostRecent()
          Returns true if this is the most recent turn.
 void setOrdersSend(boolean orderssend)
          Sets the OrdersSend flag
 
Methods inherited from class de.hagenah.diplomacy.game.Turn
addDislodgedUnit, addOrder, addUnit, areBuildsKnown, areCentersKnown, areDislodgedUnitsKnown, areNoOrdersNeeded, areOrdersKnown, areUnitsKnown, compareTo, equals, getBuilds, getBuilds, getCenter, getCenters, getCenters, getDeadline, getDislodgedUnit, getDislodgedUnits, getMissingInformation, getNumber, getOrder, getOrder, getOrders, getPhase, getUnit, getUnitCountry, getUnits, getWaiveOrders, hashCode, isComplete, removeDislodgedUnit, removeOrder, removeUnit, setBuilds, setBuilds, setCenter, setCenters, setDeadline, setDislodgedUnits, setOrders, setUnits, toString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getGame

public DipGame getGame()
Returns the game.


isComplete

public boolean isComplete()
Returns true if the turn is complete (for the most recent turn orders are not necessary).


isMostRecent

public boolean isMostRecent()
Returns true if this is the most recent turn.


setOrdersSend

public void setOrdersSend(boolean orderssend)
Sets the OrdersSend flag


areOrdersSend

public boolean areOrdersSend()
Are the orders of this turn send or copied to the clipboard?