|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MapHex | |
---|---|
rails.algorithms | |
rails.game | |
rails.game.action | |
rails.game.correct | |
rails.game.move | |
rails.game.special | |
rails.game.specific._18AL | |
rails.ui.swing.hexmap |
Uses of MapHex in rails.algorithms |
---|
Methods in rails.algorithms that return MapHex | |
---|---|
MapHex |
NetworkVertex.getHex()
|
Methods in rails.algorithms that return types with arguments of type MapHex | |
---|---|
static java.util.List<MapHex> |
NetworkGraphBuilder.getMapHexes(org.jgrapht.Graph<NetworkVertex,NetworkEdge> graph)
|
static java.util.List<MapHex> |
NetworkGraphBuilder.getTokenableStationHexes(org.jgrapht.Graph<NetworkVertex,NetworkEdge> graph,
PublicCompanyI company)
|
Methods in rails.algorithms with parameters of type MapHex | |
---|---|
NetworkVertex |
NetworkGraphBuilder.getVertex(MapHex hex,
int side)
|
static java.util.Set<NetworkVertex> |
NetworkVertex.getVerticesByHex(java.util.Collection<NetworkVertex> vertices,
MapHex hex)
Returns all vertices for a specified hex |
void |
NetworkGraphBuilder.setIteratorStart(MapHex hex,
Station station)
|
RevenueBonus |
RevenueBonusTemplate.toRevenueBonus(MapHex hex,
GameManagerI gm,
NetworkGraphBuilder ngb)
|
Method parameters in rails.algorithms with type arguments of type MapHex | |
---|---|
static java.util.Set<NetworkVertex> |
NetworkVertex.getVerticesByHexes(java.util.Collection<NetworkVertex> vertices,
java.util.Collection<MapHex> hexes)
Filters all vertices from a collection of vertices that lay in a specified collection of hexes |
Constructors in rails.algorithms with parameters of type MapHex | |
---|---|
NetworkVertex(MapHex hex,
int side)
constructor for side on mapHex |
|
NetworkVertex(MapHex hex,
Station station)
constructor for station on mapHex |
Uses of MapHex in rails.game |
---|
Fields in rails.game declared as MapHex | |
---|---|
protected MapHex |
PublicCompany.destinationHex
|
protected MapHex[][] |
MapManager.hexes
|
protected MapHex[] |
MapHex.neighbours
Neighbouring hexes to which track may be laid. |
Fields in rails.game with type parameters of type MapHex | |
---|---|
(package private) java.util.List<MapHex> |
Tile.Upgrade.allowedHexes
Hexes where the upgrade can be executed |
protected java.util.List<MapHex> |
PrivateCompany.blockedHexes
|
(package private) java.util.List<MapHex> |
Tile.Upgrade.disallowedHexes
Hexes where the upgrade cannot be executed Only one of allowedHexes and disallowedHexes should be used |
protected java.util.List<MapHex> |
PublicCompany.homeHexes
|
protected java.util.Map<java.lang.String,MapHex> |
MapManager.mHexes
|
Methods in rails.game that return MapHex | |
---|---|
MapHex |
PublicCompanyI.getDestinationHex()
|
MapHex |
PublicCompany.getDestinationHex()
|
MapHex |
MapManager.getHex(java.lang.String locationCode)
|
MapHex[][] |
MapManager.getHexes()
|
MapHex |
City.getHolder()
|
MapHex |
MapHex.getNeighbor(int orientation)
|
MapHex[] |
MapHex.getNeighbors()
|
Methods in rails.game that return types with arguments of type MapHex | |
---|---|
java.util.List<MapHex> |
PrivateCompanyI.getBlockedHexes()
|
java.util.List<MapHex> |
PrivateCompany.getBlockedHexes()
|
java.util.List<MapHex> |
MapManager.getHexesAsList()
|
java.util.List<MapHex> |
PublicCompanyI.getHomeHexes()
|
java.util.List<MapHex> |
PublicCompany.getHomeHexes()
Return the company's Home hexes (usually one). |
java.util.List<MapHex> |
Bonus.getLocations()
|
java.util.List<MapHex> |
MapManager.parseLocations(java.lang.String locationCodes)
|
Methods in rails.game with parameters of type MapHex | |
---|---|
boolean |
TileI.add(MapHex hex)
|
boolean |
Tile.add(MapHex hex)
Register a tile of this type being laid on the map. |
boolean |
MapHex.equals(MapHex hex)
|
java.util.List<TileI> |
TileI.getAllUpgrades(MapHex hex)
|
java.util.List<TileI> |
Tile.getAllUpgrades(MapHex hex)
Get all possible upgrades for a specific tile on a certain hex |
java.util.List<TileI> |
TileManager.getAllUpgrades(TileI tile,
MapHex hex)
returns the set of all possible upgrade tiles |
int |
PublicCompanyI.getBaseTokenLayCost(MapHex hex)
|
int |
PublicCompany.getBaseTokenLayCost(MapHex hex)
Calculate the cost of laying a token, given the hex where the token is laid. |
int[] |
MapManager.getCityDistances(MapHex hex)
Calculate the distances between a given tokenable city hex and all other tokenable city hexes. |
int |
MapManager.getHexDistance(MapHex hex1,
MapHex hex2)
Calculate the distance between two hexes as in 1835, i.e. |
java.util.List<TileI> |
TileI.getUpgrades(MapHex hex,
PhaseI phase)
|
java.util.List<TileI> |
Tile.getUpgrades(MapHex hex,
PhaseI phase)
Get the valid upgrades if this tile on a certain hex (restrictions per hex have not yet been implemented). |
java.lang.String |
TileI.getUpgradesString(MapHex hex)
|
java.lang.String |
Tile.getUpgradesString(MapHex hex)
Get a delimited list of all possible upgrades, regardless current phase |
java.util.List<TileI> |
TileI.getValidUpgrades(MapHex hex,
PhaseI phase)
|
java.util.List<TileI> |
Tile.getValidUpgrades(MapHex hex,
PhaseI phase)
|
protected boolean |
Tile.Upgrade.isAllowedForHex(MapHex hex)
|
protected boolean |
Tile.Upgrade.isAllowedForHex(MapHex hex,
java.lang.String phaseName)
|
boolean |
MapHex.isImpassable(MapHex neighbour)
|
boolean |
MapHex.isNeighbour(MapHex neighbour,
int direction)
|
protected boolean |
OperatingRound.isTileLayAllowed(PublicCompanyI company,
MapHex hex,
int orientation)
Reports if a tile lay is allowed by a certain company on a certain hex |
protected boolean |
OperatingRound.isTokenLayAllowed(PublicCompanyI company,
MapHex hex,
int station)
Reports if a token lay is allowed by a certain company on a certain hex and city |
void |
PublicCompanyI.layBaseToken(MapHex hex,
int cost)
|
void |
PublicCompany.layBaseToken(MapHex hex,
int cost)
|
void |
PublicCompanyI.layTile(MapHex hex,
TileI tile,
int orientation,
int cost)
|
void |
PublicCompany.layTile(MapHex hex,
TileI tile,
int orientation,
int cost)
|
boolean |
TileI.remove(MapHex hex)
|
boolean |
Tile.remove(MapHex hex)
Register a tile of this type being removed from the map. |
void |
PublicCompanyI.setHomeHex(MapHex homeHex)
|
void |
PublicCompany.setHomeHex(MapHex homeHex)
Set a non-fixed company home hex. |
void |
MapHex.setNeighbor(int orientation,
MapHex neighbour)
|
Constructors in rails.game with parameters of type MapHex | |
---|---|
City(MapHex mapHex,
int number,
Station station)
|
Constructor parameters in rails.game with type arguments of type MapHex | |
---|---|
Bonus(PublicCompanyI owner,
java.lang.String name,
int value,
java.util.List<MapHex> locations)
|
Uses of MapHex in rails.game.action |
---|
Fields in rails.game.action declared as MapHex | |
---|---|
protected MapHex |
LayToken.chosenHex
The map hex on which the token is laid |
Fields in rails.game.action with type parameters of type MapHex | |
---|---|
protected java.util.List<MapHex> |
LayToken.locations
Where to lay a token (null means anywhere) |
Methods in rails.game.action that return MapHex | |
---|---|
MapHex |
LayToken.getChosenHex()
|
MapHex |
LayTile.getChosenHex()
|
Methods in rails.game.action that return types with arguments of type MapHex | |
---|---|
java.util.List<MapHex> |
LayToken.getLocations()
|
java.util.List<MapHex> |
LayTile.getLocations()
|
Methods in rails.game.action with parameters of type MapHex | |
---|---|
void |
LayToken.setChosenHex(MapHex chosenHex)
|
void |
LayTile.setChosenHex(MapHex chosenHex)
|
Constructors in rails.game.action with parameters of type MapHex | |
---|---|
LayBaseToken(MapHex hex)
|
|
LayToken(MapHex hex)
|
Constructor parameters in rails.game.action with type arguments of type MapHex | |
---|---|
LayBaseToken(java.util.List<MapHex> locations)
Allow laying a base token on a given location. |
|
LayTile(java.util.List<MapHex> locations,
java.util.List<TileI> tiles)
Allow laying a tile on a given location. |
|
LayToken(java.util.List<MapHex> locations)
Allow laying a base token on a given location. |
Uses of MapHex in rails.game.correct |
---|
Methods in rails.game.correct that return MapHex | |
---|---|
MapHex |
MapCorrectionAction.getLocation()
|
Methods in rails.game.correct with parameters of type MapHex | |
---|---|
void |
MapCorrectionAction.selectHex(MapHex chosenHex)
|
Uses of MapHex in rails.game.move |
---|
Fields in rails.game.move declared as MapHex | |
---|---|
(package private) MapHex |
TileMove.hex
|
Constructors in rails.game.move with parameters of type MapHex | |
---|---|
TileMove(MapHex hex,
TileI oldTile,
int oldTileOrientation,
java.util.List<City> oldStations,
TileI newTile,
int newTileOrientation,
java.util.List<City> newStations)
|
Uses of MapHex in rails.game.special |
---|
Fields in rails.game.special with type parameters of type MapHex | |
---|---|
(package private) java.util.List<MapHex> |
SpecialTokenLay.locations
|
(package private) java.util.List<MapHex> |
SpecialTileLay.locations
|
(package private) java.util.List<MapHex> |
LocatedBonus.locations
|
Methods in rails.game.special that return types with arguments of type MapHex | |
---|---|
java.util.List<MapHex> |
SpecialTokenLay.getLocations()
|
java.util.List<MapHex> |
SpecialTileLay.getLocations()
|
java.util.List<MapHex> |
SellBonusToken.getLocations()
|
java.util.List<MapHex> |
LocatedBonus.getLocations()
|
Uses of MapHex in rails.game.specific._18AL |
---|
Methods in rails.game.specific._18AL that return types with arguments of type MapHex | |
---|---|
java.util.List<MapHex> |
NamedTrainToken.getHexesToPass()
|
Uses of MapHex in rails.ui.swing.hexmap |
---|
Fields in rails.ui.swing.hexmap declared as MapHex | |
---|---|
protected MapHex |
GUITile.hex
|
protected MapHex[][] |
HexMap.hexArray
|
protected MapHex |
GUIHex.model
|
Fields in rails.ui.swing.hexmap with type parameters of type MapHex | |
---|---|
protected java.util.Map<MapHex,LayTile> |
HexMap.allowedTilesPerHex
A Map linking tile allowed tiles to each map hex |
protected java.util.Map<MapHex,java.util.List<LayToken>> |
HexMap.allowedTokensPerHex
A Map linking tile allowed tiles to each map hex |
Methods in rails.ui.swing.hexmap that return MapHex | |
---|---|
MapHex |
GUIHex.getHexModel()
|
Methods in rails.ui.swing.hexmap with parameters of type MapHex | |
---|---|
java.util.List<LayBaseToken> |
HexMap.getBaseTokenAllowanceForHex(MapHex hex)
|
java.util.List<LayBonusToken> |
HexMap.getBonusTokenAllowanceForHex(MapHex hex)
|
java.util.List<LayTile> |
HexMap.getTileAllowancesForHex(MapHex hex)
|
java.util.List<LayToken> |
HexMap.getTokenAllowanceForHex(MapHex hex)
|
void |
GUIHex.setHexModel(MapHex model)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |