|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TileType | |
---|---|
net.sf.freecol.client.gui | Contains the GUI classes. |
net.sf.freecol.client.gui.panel | Contains the panels and dialogs. |
net.sf.freecol.common | Contains classes in use by both the server and the client. |
net.sf.freecol.common.model | Contains the game model. |
Uses of TileType in net.sf.freecol.client.gui |
---|
Methods in net.sf.freecol.client.gui with parameters of type TileType | |
---|---|
java.awt.Image |
ImageLibrary.getBorderImage(TileType type,
Map.Direction direction,
int x,
int y)
Returns the border terrain-image for the given type. |
java.awt.Image |
ImageLibrary.getCoastImage(TileType type,
Map.Direction direction,
int x,
int y)
Returns the coast terrain-image for the given type. |
int |
ImageLibrary.getCompoundTerrainImageHeight(TileType type)
Returns the height of the terrain-image including overlays and forests for the given terrain type. |
java.awt.Image |
ImageLibrary.getForestImage(TileType type)
Returns the forest image for a terrain type. |
java.awt.Image |
ImageLibrary.getOverlayImage(TileType type,
int x,
int y)
Returns the overlay-image for the given type. |
java.awt.Image |
ImageLibrary.getScaledTerrainImage(TileType type,
float scale)
Returns the scaled terrain-image for a terrain type (and position 0, 0). |
java.awt.Image |
ImageLibrary.getTerrainImage(TileType type,
int x,
int y)
Returns the terrain-image for the given type. |
int |
ImageLibrary.getTerrainImageHeight(TileType type)
Returns the height of the terrain-image for a terrain type. |
int |
ImageLibrary.getTerrainImageWidth(TileType type)
Returns the width of the terrain-image for a terrain type. |
Uses of TileType in net.sf.freecol.client.gui.panel |
---|
Methods in net.sf.freecol.client.gui.panel that return TileType | |
---|---|
TileType |
MapEditorTransformPanel.TileTypeTransform.getTileType()
|
Methods in net.sf.freecol.client.gui.panel with parameters of type TileType | |
---|---|
abstract java.awt.Image |
ImageProvider.getTerrainImage(TileType type,
int x,
int y)
Should return the Image of the terrain with the given type. |
abstract int |
ImageProvider.getTerrainImageHeight(TileType type)
Should return the height of the terrain-image at the given index. |
abstract int |
ImageProvider.getTerrainImageWidth(TileType type)
Should return the width of the terrain-image at the given index. |
Uses of TileType in net.sf.freecol.common |
---|
Methods in net.sf.freecol.common that return TileType | |
---|---|
TileType |
Specification.getTileType(java.lang.String id)
|
Methods in net.sf.freecol.common that return types with arguments of type TileType | |
---|---|
java.util.List<TileType> |
Specification.getTileTypeList()
|
Uses of TileType in net.sf.freecol.common.model |
---|
Methods in net.sf.freecol.common.model that return TileType | |
---|---|
TileType |
TileImprovementType.getChange(TileType tileType)
|
TileType |
TileImprovement.getChange(TileType tileType)
Returns any change of TileType |
TileType |
Tile.getType()
Returns the type of this Tile. |
Methods in net.sf.freecol.common.model with parameters of type TileType | |
---|---|
boolean |
TileImprovementType.changeContainsTarget(TileType tileType)
|
TileType |
TileImprovementType.getChange(TileType tileType)
|
TileType |
TileImprovement.getChange(TileType tileType)
Returns any change of TileType |
static int |
Tile.getTileTypePotential(TileType tileType,
GoodsType goodsType,
TileItemContainer tiContainer,
UnitType unitType)
Calculates the potential of a certain GoodsType . |
int |
TileImprovementType.getValue(TileType tileType,
GoodsType goodsType)
Returns a value for use in AI decision making. |
boolean |
TileImprovementType.isTileTypeAllowed(TileType tileType)
This will check if in principle this type of improvement can be used on this kind of tile, disregarding the current state of an actual tile. |
void |
Tile.setType(TileType t)
Sets the type for this Tile. |
Constructors in net.sf.freecol.common.model with parameters of type TileType | |
---|---|
Tile(Game game,
TileType type,
int locX,
int locY)
A constructor to use. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |