Uses of Class
dip.world.Coast

Packages that use Coast
dip.gui.map   
dip.order   
dip.world   
dip.world.variant.data   
 

Uses of Coast in dip.gui.map
 

Methods in dip.gui.map with parameters of type Coast
 java.awt.geom.Point2D.Float MapMetadata.getUnitPt(Province key, Coast coast)
          Convenience method: get Unit placement point for this Province
 java.awt.geom.Point2D.Float MapMetadata.getDislodgedUnitPt(Province key, Coast coast)
          Convenience method: get Dislodged Unit placement point for this Province
 void MapMetadata.InfoEntry.addCoastMapping(Coast coast, java.awt.geom.Point2D.Float unitPt, java.awt.geom.Point2D.Float dislodgedPt)
          Adds data to coast mapping
 java.awt.geom.Point2D.Float MapMetadata.InfoEntry.getUnitPt(Coast coast)
          Location where units are placed
 java.awt.geom.Point2D.Float MapMetadata.InfoEntry.getDislodgedUnitPt(Coast coast)
          Location where dislodged units are placed
 

Uses of Coast in dip.order
 

Methods in dip.order with parameters of type Coast
static java.lang.String OrderFormat.format(OrderFormatOptions ofo, Coast coast)
          Format a Coast given the order formatting parameters.
 

Uses of Coast in dip.world
 

Fields in dip.world declared as Coast
protected  Coast Unit.coast
           
static Coast Coast.UNDEFINED
          Constant indicated an Undefined coast
static Coast Coast.WING
          Constant indicating Wing coast (for Wing movement)
static Coast Coast.NONE
          Constant indicating no coast (Army movement)
static Coast Coast.SINGLE
          Constant indicating a single Coast (for fleets in coastal land areas, or sea-only provinces)
static Coast Coast.NORTH
          Constant indicating North Coast
static Coast Coast.SOUTH
          Constant indicating South Coast
static Coast Coast.WEST
          Constant indicating West Coast
static Coast Coast.EAST
          Constant indicating East Coast
static Coast Coast.TOUCHING
          Alias for Coast.WING
static Coast Coast.LAND
          Alias for Coast.NONE
static Coast Coast.SEA
          Alias for Coast.SINGLE
static Coast[] Coast.NOT_DISPLAYED
          Array of Coasts that are not typically displayed Warning: this should not be mutated.
static Coast[] Coast.ALL_COASTS
          Array of the 6 main coast types (NONE, SINGLE, NORTH, SOUTH, WEST, EAST) Warning: this should not be mutated.
static Coast[] Coast.ANY_SEA
          Array of sea coasts (SINGLE, NORTH, SOUTH, WEST, EAST) Warning: this should not be mutated.
static Coast[] Coast.ANY_DIRECTIONAL
          Array of directional coasts (NORTH, SOUTH, WEST, EAST) Warning: this should not be mutated.
 

Methods in dip.world that return Coast
 Coast Unit.getCoast()
          Get the Coast where this Unit is located
 Coast[] Province.getValidDirectionalCoasts()
          Return the coasts supported by this province.
 Coast Location.getCoast()
          Get the Coast for this Location
static Coast Coast.getCoast(int idx)
          Gets the Coast corresponding to an index; null if index is out of range.
static Coast Coast.parse(java.lang.String text)
          Parses the coast from a text token.
 

Methods in dip.world with parameters of type Coast
 void Unit.setCoast(Coast coast)
          Set the coast of a unit.
 Location[] Province.getAdjacentLocations(Coast coast)
          Gets the Locations adjacent to this province, given the specified coast.
 boolean Province.isAdjacent(Coast sourceCoast, Province dest)
          Checks connectivity between this and another province This method only determines if the current Province with the specified coast is connected to the destination Province.
 boolean Province.isAdjacent(Coast sourceCoast, Location dest)
          Checks connectivity between this and another province This method only determines if the current Province with the specified coast is connected to the destination Province and Coast.
 boolean Province.isCoastValid(Coast coast)
          Determines if specified coast is allowed for this Province
protected  void Province.Adjacency.setLocations(Coast coast, Location[] locations)
          Sets which locations are adjacent to the specified coast.
protected  Location[] Province.Adjacency.getLocations(Coast coast)
          Gets the locations which are adjacent to the coast.
static boolean Coast.isDisplayable(Coast coast)
          Returns if this Coast is typically displayed
 

Constructors in dip.world with parameters of type Coast
Location(Province province, Coast coast)
          Create a Location object
 

Uses of Coast in dip.world.variant.data
 

Methods in dip.world.variant.data that return Coast
 Coast InitialState.getCoast()
          Coast of unit
 

Methods in dip.world.variant.data with parameters of type Coast
 void InitialState.setCoast(Coast value)
          Sets the coast for the unit.
 



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