Uses of Class
net.sf.freecol.common.model.Tile

Packages that use Tile
net.sf.freecol.client.control Contains the classes responsible for the control of the game. 
net.sf.freecol.client.gui Contains the GUI classes. 
net.sf.freecol.client.gui.animation   
net.sf.freecol.client.gui.i18n  
net.sf.freecol.client.gui.panel Contains the panels and dialogs. 
net.sf.freecol.common.model Contains the game model. 
net.sf.freecol.common.model.pathfinding Classes used when making searches on the map. 
net.sf.freecol.common.networking Contains the common networking classes. 
net.sf.freecol.server.ai The main package of the ai package tree. 
net.sf.freecol.server.ai.goal   
net.sf.freecol.server.ai.mission Contains the missions an AIUnit can be assigned to. 
net.sf.freecol.server.control Contains the classes responsible for the control of the game. 
net.sf.freecol.server.generator Contains the map generator. 
net.sf.freecol.server.model Contains model classes with server specific information. 
 

Uses of Tile in net.sf.freecol.client.control
 

Methods in net.sf.freecol.client.control with parameters of type Tile
 boolean InGameController.claimLand(Tile tile, Colony colony, int offer)
          Claim a piece of land.
 void InGameController.debugForeignColony(Tile tile)
           
 void InGameController.nextActiveUnit(Tile tile)
          Makes a new unit active.
 void MapEditorController.transform(Tile t)
          Transforms the given Tile using the current MapTransform.
 void ClientModelController.update(Tile tile)
          Tells the ModelController that an internal change (that is; not caused by the control) has occured in the model.
 

Method parameters in net.sf.freecol.client.control with type arguments of type Tile
 void ClientModelController.exploreTiles(Player player, java.util.ArrayList<Tile> tiles)
          Explores the given tiles for the given player.
 

Uses of Tile in net.sf.freecol.client.gui
 

Methods in net.sf.freecol.client.gui that return Tile
 Tile TerrainCursor.getTile()
           
 

Methods in net.sf.freecol.client.gui with parameters of type Tile
 void GUI.displayColonyTile(java.awt.Graphics2D g, Map map, Tile tile, int x, int y, Colony colony)
          Displays the given Tile onto the given Graphics2D object at the location specified by the coordinates.
 void GUI.displayTerrain(java.awt.Graphics2D g, Map map, Tile tile, int x, int y)
          Displays the given Tile onto the given Graphics2D object at the location specified by the coordinates.
 void GUI.displayTile(java.awt.Graphics2D g, Map map, Tile tile, int x, int y)
          Displays the given Tile onto the given Graphics2D object at the location specified by the coordinates.
 void GUI.displayTile(java.awt.Graphics2D g, Map map, Tile tile, int x, int y, boolean drawUnexploredBorders)
          Displays the given Tile onto the given Graphics2D object at the location specified by the coordinates.
 boolean ViewMode.displayTileCursor(Tile tile, int canvasX, int canvasY)
           
 void GUI.executeWithUnitOutForAnimation(Unit unit, Tile sourceTile, OutForAnimationCallback r)
          Run some code with the given unit made invisible.
 java.awt.Image ImageLibrary.getBonusImage(Tile tile)
          Returns the bonus-image for the given tile.
 java.awt.Rectangle GUI.getTileBounds(Tile tile)
          Calculate the bounds of the rectangle containing a Tile on the screen, and return it.
 java.awt.Point GUI.getTilePosition(Tile t)
          Gets the position of the given Tile on the drawn map.
 Unit GUI.getUnitInFront(Tile unitTile)
          Gets the unit that should be displayed on the given tile.
 java.awt.Point GUI.getUnitLabelPositionInTile(javax.swing.JLabel unitLabel, Tile tile)
          Gets the position where a unitLabel located at tile should be drawn.
 void Canvas.refreshTile(Tile t)
          Refreshes the screen at the specified Tile.
 void TerrainCursor.setTile(Tile tile)
           
 

Constructors in net.sf.freecol.client.gui with parameters of type Tile
TilePopup(Tile tile, FreeColClient freeColClient, Canvas canvas, GUI gui)
          The constructor that will insert the MenuItems.
 

Uses of Tile in net.sf.freecol.client.gui.animation
 

Methods in net.sf.freecol.client.gui.animation with parameters of type Tile
static void Animations.unitMove(Canvas canvas, Unit unit, Tile source, Tile destination)
          Animates a unit move.
 

Uses of Tile in net.sf.freecol.client.gui.i18n
 

Methods in net.sf.freecol.client.gui.i18n with parameters of type Tile
static java.lang.String Messages.getLabel(Tile tile)
          Returns a description of the Tile, with the name of the tile and any improvements on it (road/plow/etc) from TileItemContainer.
static java.lang.String Messages.getLocationName(Tile tile)
          Returns the location name of the given Tile.
static java.lang.String Messages.getName(Tile tile)
          Gets the name of a Tile, or shows "unexplored" if not explored by player.
 

Uses of Tile in net.sf.freecol.client.gui.panel
 

Methods in net.sf.freecol.client.gui.panel that return Tile
 Tile InfoPanel.getTile()
          Gets the Tile in which this InfoPanel is displaying information about.
 Tile InfoPanel.TileInfoPanel.getTile()
          Gets the Tile in which this InfoPanel is displaying information about.
 

Methods in net.sf.freecol.client.gui.panel with parameters of type Tile
abstract  void MapEditorTransformPanel.MapTransform.transform(Tile t)
          Applies this transformation to the given tile.
 void MapEditorTransformPanel.TileTypeTransform.transform(Tile t)
           
 void InfoPanel.update(Tile tile)
          Updates this InfoPanel.
 void InfoPanel.TileInfoPanel.update(Tile tile)
          Updates this InfoPanel.
 

Constructors in net.sf.freecol.client.gui.panel with parameters of type Tile
TilePanel(Canvas parent, Tile tile)
          The constructor that will add the items to this panel.
 

Uses of Tile in net.sf.freecol.common.model
 

Methods in net.sf.freecol.common.model that return Tile
 Tile Map.getAdjacentTile(Map.Position position, Map.Direction direction)
          Gets the position adjacent Tile to a given Tile, in a given direction.
 Tile Tile.getNeighbourOrNull(Map.Direction d)
          Describe getNeighbourOrNull method here.
 Tile Map.getNeighbourOrNull(Map.Direction direction, int x, int y)
          Returns the neighbouring Tile of the given Tile in the given direction.
 Tile Map.getNeighbourOrNull(Map.Direction direction, Tile t)
          Returns the neighbouring Tile of the given Tile in the given direction.
 Tile Unit.getTile()
          Returns the Tile where this Unit is located.
 Tile TileItemContainer.getTile()
           
 Tile TileItem.getTile()
          Returns the Tile where this TileItem is located, or null if it's location is Europe.
 Tile Tile.getTile()
          Gets the Tile where this Location is located or null if no Tile applies.
 Tile Settlement.getTile()
          Gets the Tile where this Settlement is located.
 Tile PathNode.getTile()
          Gets the Tile of this PathNode.
 Tile Location.getTile()
          Returns the Tile where this Location is located.
 Tile Locatable.getTile()
          Returns the Tile where this Locatable is located, or null if it's location is Europe.
 Tile Goods.getTile()
          Returns the Tile where this Goods is located, or null if it's location is Europe.
 Tile Europe.getTile()
          Returns null.
 Tile ColonyTile.getTile()
          Gets the tile where the colony is located.
 Tile Building.getTile()
          Gets the Tile where this Building is located.
 Tile Settlement.getTile(int x, int y)
          Gets a Tile from the neighbourhood of this Colony.
 Tile Map.getTile(int x, int y)
          Returns the Tile at position (x, y).
 Tile Map.getTile(Map.Position p)
          Returns the Tile at a requested position.
 Tile ColonyTile.getWorkTile()
          Gets the work tile.
 

Methods in net.sf.freecol.common.model that return types with arguments of type Tile
 java.lang.Iterable<Tile> Map.getAllTiles()
          Make the map usable as a parameter in the for-loop.
 java.util.List<Tile> Map.getSurroundingTiles(Tile t, int range)
          Returns all the tiles surrounding the given tile within the given range.
 

Methods in net.sf.freecol.common.model with parameters of type Tile
 void Unit.activeAdjacentSentryUnits(Tile tile)
          Active units with sentry state wich are adjacent to a specified tile
 boolean Player.canSee(Tile tile)
          Checks if this Player can see the given Tile.
 void Settlement.claimTile(Tile tile)
          Claim a single Tile for this Settlement.
 void Unit.contactAdjacent(Tile tile)
          Contact Players with Units or Settlements on surrounding Tiles.
static TileImprovementType TileImprovement.findBestTileImprovementType(Tile tile, GoodsType goodsType)
          Method for returning the 'most effective' TileImprovementType allowed for a given Tile.
 PathNode Unit.findPath(Tile end)
          Finds a shortest path from the current Tile to the one specified.
 PathNode Unit.findPath(Tile start, Tile end)
          Finds a shortest path from the current Tile to the one specified.
 PathNode Map.findPath(Tile start, Tile end, Map.PathType type)
          Finds a shortest path between the given tiles.
 PathNode Map.findPath(Unit unit, Tile start, Tile end)
          Finds a shortest path between the given tiles.
 PathNode Map.findPath(Unit unit, Tile start, Tile end, CostDecider costDecider)
          Finds a shortest path between the given tiles.
 PathNode Map.findPath(Unit unit, Tile start, Tile end, Unit carrier)
          Finds a shortest path between the given tiles.
 PathNode Map.findPath(Unit unit, Tile start, Tile end, Unit carrier, CostDecider costDecider)
          Finds a shortest path between the given tiles.
 PathNode Map.findPathToEurope(Tile start)
          Finds the best path to Europe independently of any unit.
 PathNode Map.findPathToEurope(Unit unit, Tile start)
          Finds the best path to Europe.
 PathNode Map.findPathToEurope(Unit unit, Tile start, CostDecider costDecider)
          Finds the best path to Europe.
 ColonyTile Colony.getColonyTile(Tile t)
          Returns the ColonyTile matching the given Tile.
 int Player.getColonyValue(Tile t)
          Gets the value of building a Colony on the given tile.
 Map.Direction Map.getDirection(Tile t1, Tile t2)
          Returns the direction a unit needs to move in order to get from t1 to t2
 int Tile.getDistanceTo(Tile tile)
          Gets the distance in tiles between this Tile and the specified one.
 int Player.getLandPrice(Tile tile)
          Returns the price of the given land.
 int TileItemContainer.getMoveCost(int basicMoveCost, Tile fromTile)
          Determine the movement cost to this Tile from another Tile.
 int Unit.getMoveCost(Tile target)
          Gets the cost of moving this Unit onto the given Tile.
 int Tile.getMoveCost(Tile fromTile)
          Returns the cost of moving onto this tile from a given Tile.
 int Unit.getMoveCost(Tile from, Tile target, int ml)
          Gets the cost of moving this Unit from the given Tile onto the given Tile.
 int TileImprovement.getMovementCost(int moveCost, Tile fromTile)
          Performs reduction of the movement-cost.
 Unit.MoveType Unit.getMoveType(Tile target)
          Gets the type of a move that is made when moving from one tile to another.
 Unit.MoveType Unit.getMoveType(Tile from, Tile target, int ml)
          Gets the type of a move that is made when moving from one tile to another.
 Unit.MoveType Unit.getMoveType(Tile from, Tile target, int ml, boolean ignoreEnemyUnits)
          Gets the type of a move that is made when moving from one tile to another.
 Tile Map.getNeighbourOrNull(Map.Direction direction, Tile t)
          Returns the neighbouring Tile of the given Tile in the given direction.
 int Player.getOutpostValue(Tile t)
          Calculates the value of an outpost-type colony at this tile.
 Unit.MoveType Unit.getSimpleMoveType(Tile target)
          Gets the type of a move that is made when moving from one tile to another, without checking if the unit has moves left or logging errors.
 Unit.MoveType Unit.getSimpleMoveType(Tile from, Tile target, boolean ignoreEnemyUnits)
          Gets the type of a move that is made when moving from one tile to another, without checking if the unit has moves left or logging errors.
 java.util.List<Tile> Map.getSurroundingTiles(Tile t, int range)
          Returns all the tiles surrounding the given tile within the given range.
 int Unit.getTurnsToReach(Tile end)
          Returns the number of turns this Unit will have to use in order to reach the given Tile.
 int Unit.getTurnsToReach(Tile start, Tile end)
          Returns the number of turns this Unit will have to use in order to reach the given Tile.
 boolean Player.hasExplored(Tile tile)
          Checks if this Player has explored the given Tile.
 boolean Tile.isAdjacent(Tile tile)
          Determines whether this tile is adjacent to the specified tile.
 boolean Map.isAdjacentToMapEdge(Tile tile)
          Checks if the given Tile is adjacent to the edge of the map.
 boolean Map.isAdjacentToVerticalMapEdge(Tile tile)
          Checks if the given Tile is adjacent to the east or west edge of the map.
 boolean TileImprovementType.isTileAllowed(Tile tile)
          Check if a given Tile is valid for this TileImprovement.
 PathNode Map.search(Tile startTile, GoalDecider gd, CostDecider costDecider, int maxTurns)
          Finds a path to a goal determined by the given GoalDecider.
 PathNode Map.search(Unit unit, Tile startTile, GoalDecider gd, CostDecider costDecider, int maxTurns)
          Finds a path to a goal determined by the given GoalDecider.
 PathNode Map.search(Unit unit, Tile startTile, GoalDecider gd, CostDecider costDecider, int maxTurns, Unit carrier)
          Finds a path to a goal determined by the given GoalDecider.
 PathNode Map.search(Unit unit, Tile startTile, GoalDecider gd, int maxTurns)
          Finds a path to a goal determined by the given GoalDecider.
 PathNode Map.search(Unit unit, Tile startTile, GoalDecider gd, int maxTurns, Unit carrier)
          Finds a path to a goal determined by the given GoalDecider.
 void Player.setExplored(Tile tile)
          Sets the given tile to be explored by this player and updates the player's information about the tile.
 void Map.setTile(Tile tile, int x, int y)
          Sets the given tile the the given coordinates.
 

Method parameters in net.sf.freecol.common.model with type arguments of type Tile
 void ModelController.exploreTiles(Player player, java.util.ArrayList<Tile> tiles)
          Explores the given tiles for the given player.
 

Constructors in net.sf.freecol.common.model with parameters of type Tile
Colony(Game game, Player owner, java.lang.String name, Tile tile)
          Creates a new Colony.
ColonyTile(Game game, Colony colony, Tile workTile)
          Creates a new ColonyTile.
IndianSettlement(Game game, Player player, Tile tile, java.lang.String name, boolean isCapital, UnitType learnableSkill, java.util.Set<Player> isVisited, Unit missionary)
          The constructor to use.
LostCityRumour(Game game, Tile tile)
          Creates a new LostCityRumour instance.
LostCityRumour(Game game, Tile tile, LostCityRumour.RumourType type, java.lang.String name)
          Creates a new LostCityRumour instance.
Map(Game game, Tile[][] tiles)
          Create a new Map from a collection of tiles.
PathNode(Tile tile, int cost, int f, Map.Direction direction, int movesLeft, int turns)
          Creates a new PathNode.
PlayerExploredTile(Game game, Player player, Tile tile)
          Creates a new PlayerExploredTile.
Resource(Game game, Tile tile, ResourceType type)
          Creates a standard Resource-instance.
Settlement(Game game, Player owner, java.lang.String name, Tile tile)
          Creates a new Settlement.
TileImprovement(Game game, Tile tile, TileImprovementType type)
          Creates a standard TileImprovement-instance.
TileItem(Game game, Tile tile)
          Creates a new TileItem.
TileItemContainer(Game game, Tile tile)
          Creates an empty TileItemContainer.
TileItemContainer(Game game, Tile tile, org.w3c.dom.Element e)
          Initiates a new TileItemContainer from an Element.
TileItemContainer(Game game, Tile tile, javax.xml.stream.XMLStreamReader in)
          Initiates a new TileItemContainer from an Element.
 

Uses of Tile in net.sf.freecol.common.model.pathfinding
 

Methods in net.sf.freecol.common.model.pathfinding with parameters of type Tile
 int CostDecider.getCost(Unit unit, Tile oldTile, Tile newTile, int movesLeftBefore, int turns)
          Determines the cost of a single move.
 

Uses of Tile in net.sf.freecol.common.networking
 

Constructors in net.sf.freecol.common.networking with parameters of type Tile
ClaimLandMessage(Tile tile, Settlement settlement, int price)
          Create a new ClaimLandMessage.
DebugForeignColonyMessage(Tile tile)
          Create a new DebugForeignColonyMessage with the supplied tile.
 

Uses of Tile in net.sf.freecol.server.ai
 

Methods in net.sf.freecol.server.ai that return Tile
 Tile TileImprovementPlan.getTarget()
          Gets the target of this TileImprovementPlan.
 

Methods in net.sf.freecol.server.ai with parameters of type Tile
 Unit NewAIPlayer.getBestTreasureTrain(Tile tile)
          Deprecated. Returns the treasure train carrying the largest treasure located on the given Tile.
 

Constructors in net.sf.freecol.server.ai with parameters of type Tile
TileImprovementPlan(AIMain aiMain, Tile target, TileImprovementType type, int value)
          Creates a new TileImprovementPlan.
 

Uses of Tile in net.sf.freecol.server.ai.goal
 

Constructors in net.sf.freecol.server.ai.goal with parameters of type Tile
GotoAdjacentGoal(AIPlayer p, Goal g, float w, AIUnit u, Tile t)
           
 

Uses of Tile in net.sf.freecol.server.ai.mission
 

Methods in net.sf.freecol.server.ai.mission that return Tile
static Tile BuildColonyMission.findColonyLocation(Unit unit)
          Finds a site for a new colony.
 Tile WishRealizationMission.getTransportDestination()
          Returns the destination for this Transportable.
 Tile UnitSeekAndDestroyMission.getTransportDestination()
          Returns the destination for this Transportable.
 Tile TransportMission.getTransportDestination()
          Returns the destination of a required transport.
 Tile ScoutingMission.getTransportDestination()
          Returns the destination for this Transportable.
 Tile PioneeringMission.getTransportDestination()
          Returns the destination for this Transportable.
 Tile Mission.getTransportDestination()
          Returns the destination of a required transport.
 Tile DefendSettlementMission.getTransportDestination()
          Returns the destination for this Transportable.
 Tile CashInTreasureTrainMission.getTransportDestination()
          Returns the destination for this Transportable.
 Tile BuildColonyMission.getTransportDestination()
          Returns the destination for this Transportable.
 

Constructors in net.sf.freecol.server.ai.mission with parameters of type Tile
BuildColonyMission(AIMain aiMain, AIUnit aiUnit, Tile target, int colonyValue)
          Creates a mission for the given AIUnit.
 

Uses of Tile in net.sf.freecol.server.control
 

Methods in net.sf.freecol.server.control with parameters of type Tile
 void InGameController.sendUpdatedTileToAll(Tile newTile, ServerPlayer serverPlayer)
          Tell all players to update a tile, optionally excluding one player.
 void ServerModelController.update(Tile tile)
          Sends an update of the given Tile to all the players.
 void ServerModelController.update(Tile newTile, Player p)
          Sends an update of the given Tile to the other players.
 

Method parameters in net.sf.freecol.server.control with type arguments of type Tile
 void ServerModelController.exploreTiles(Player player, java.util.ArrayList<Tile> tiles)
          Explores the given tiles for the given player.
 

Uses of Tile in net.sf.freecol.server.generator
 

Methods in net.sf.freecol.server.generator with parameters of type Tile
static void TerrainGenerator.encodeStyle(Tile tile)
           
 

Uses of Tile in net.sf.freecol.server.model
 

Methods in net.sf.freecol.server.model with parameters of type Tile
 void ServerRegion.addTile(Tile tile)
          Add the given Tile to this Region.
 void ServerPlayer.claimLand(Tile tile, Settlement settlement, int price)
          Claim the given land.
 boolean ServerPlayer.hasExplored(Tile tile)
          Checks if this Player has explored the given Tile.
 void ServerPlayer.setExplored(Tile tile)
          Sets the given tile to be explored by this player and updates the player's information about the tile.