Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
M
M2_ID
- Static variable in class rails.game.specific._1835.
GameManager_1835
main(String[])
- Static method in class rails.test.
GameTest
main(String[])
- Static method in class rails.util.
ListAndFixSavedFiles
main(String[])
- Static method in class rails.util.
RunGame
main(String[])
- Static method in class test.
SVGApplication
main(String[])
- Static method in class test.
SVGOffscreenLoader
main(String[])
- Static method in class test.
TestGameBuilder
Run main to rebuild the report files.
main(String[])
- Static method in class tools.
ConvertTilesXML
main(String[])
- Static method in class tools.
MakeGameTileSets
majorStops
- Variable in class rails.game.
Train
majorStops
- Variable in class rails.game.
TrainType
makeAbbreviatedListOfTrains()
- Method in class rails.game.
Portfolio
Make an abbreviated list of trains, like "2(6) 3(5)" etc, to show in the IPO.
makeFullListOfTrains()
- Method in class rails.game.
Portfolio
Make a full list of trains, like "2 2 3 3", to show in any field describing train possessions, except the IPO.
MakeGameTileSets
- Class in
tools
Convert an XML tile dictionary, as created by Marco Rocci's Tile Designer, to an XML file for use in Rails 18xx.
makePolygon(int, double[], double[], boolean)
- Static method in class rails.ui.swing.hexmap.
GUIHex
Return a GeneralPath polygon, with the passed number of sides, and the passed x and y coordinates.
makeResellable()
- Method in class rails.game.special.
SellBonusToken
manager
- Variable in class test.
SVGOffscreenLoader
map
- Variable in class rails.game.move.
DoubleMapChange
map
- Variable in class rails.game.move.
MapChange
map
- Variable in class rails.game.move.
RemoveFromMap
MAP_CMD
- Static variable in class rails.ui.swing.
StatusWindow
MAP_CORRECTION
- Static variable in class rails.ui.swing.
ORUIManager
MapChange
<
K
,
V
> - Class in
rails.game.move
This Move class handles adding an entry to a Map.
MapChange(Map<K, V>, K, V)
- Constructor for class rails.game.move.
MapChange
Creates a move that changes a map
pair
MapCorrectionAction
- Class in
rails.game.correct
MapCorrectionAction()
- Constructor for class rails.game.correct.
MapCorrectionAction
Instantiates a new map tile correction action.
MapCorrectionManager
- Class in
rails.game.correct
MapCorrectionManager(GameManager)
- Constructor for class rails.game.correct.
MapCorrectionManager
MapCorrectionManager.ActionStep
- Enum in
rails.game.correct
MapHex
- Class in
rails.game
Represents a Hex on the Map from the Model side.
MapHex(MapManager)
- Constructor for class rails.game.
MapHex
MapHex.Run
- Enum in
rails.game
mapManager
- Variable in class rails.game.
Game
mapManager
- Variable in class rails.game.
GameManager
mapManager
- Variable in class rails.game.
MapHex
MapManager
- Class in
rails.game
MapManager configures the map layout from XML
MapManager()
- Constructor for class rails.game.
MapManager
mapManager
- Variable in class rails.game.
PublicCompany
mapManager
- Variable in class rails.game.
Round
mapManager
- Variable in class rails.ui.swing.hexmap.
HexMap
MapPanel
- Class in
rails.ui.swing
MapWindow class displays the Map Window.
MapPanel(GameUIManager)
- Constructor for class rails.ui.swing.
MapPanel
mapPanel
- Variable in class rails.ui.swing.
ORWindow
mapRelatedActions
- Variable in class rails.ui.swing.
ORUIManager
MARKET_CMD
- Static variable in class rails.ui.swing.
StatusWindow
MAX_MODE
- Static variable in class rails.game.action.
GameAction
MAX_MODE
- Static variable in class rails.game.action.
NullAction
MAX_PLAYERS
- Static variable in class rails.game.
Player
maxAllowedNumberOfSharesToBuy(Player, PublicCompanyI, int)
- Method in class rails.game.
StockRound
Return the number of
additional
shares of a certain company and of a certain size that a player may buy, given the share "hold limit" per company, that is the percentage of shares of one company that a player may hold (typically 60%).
maxBonusRevenues
- Variable in class rails.algorithms.
RevenueCalculator
maxCol
- Variable in class rails.game.
MapManager
maxCol
- Variable in class rails.ui.swing.hexmap.
HexMap
maxCumulatedTrainRevenues
- Variable in class rails.algorithms.
RevenueCalculator
maximumNumber
- Variable in class rails.game.action.
BuyCertificate
maxLoansPerRound
- Variable in class rails.game.
PublicCompany
maxMajorRevenues
- Variable in class rails.algorithms.
RevenueCalculator
maxMinorRevenues
- Variable in class rails.algorithms.
RevenueCalculator
maxNumberOfLoans
- Variable in class rails.game.
PublicCompany
maxPercOfOwnShares
- Variable in class rails.game.
PublicCompany
maxPercofShares
- Variable in class rails.game.specific._1880.
Investor_1880
maxPercofShares()
- Method in class rails.game.specific._1880.
Investor_1880
maxPlayers
- Variable in class rails.game.
PlayerManager
maxRow
- Variable in class rails.game.
MapManager
maxRow
- Variable in class rails.ui.swing.hexmap.
HexMap
maxVertexValue(Collection<NetworkVertex>)
- Static method in class rails.algorithms.
NetworkVertex
Returns the maximum positive value (lower bound zero)
maxX
- Variable in class rails.game.
MapManager
maxX
- Variable in class rails.ui.swing.hexmap.
HexMap
maxY
- Variable in class rails.game.
MapManager
maxY
- Variable in class rails.ui.swing.hexmap.
HexMap
mayBuyTrainType(TrainI)
- Method in class rails.game.
PublicCompany
Stub that allows exclusions such as that 1856 CGR may not buy a 4
mayBuyTrainType(TrainI)
- Method in interface rails.game.
PublicCompanyI
mayBuyTrainType(TrainI)
- Method in class rails.game.specific._1856.
PublicCompany_CGR
mayCurrentPlayerBuyAnything()
- Method in class rails.game.
ShareSellingRound
mayCurrentPlayerBuyAnything()
- Method in class rails.game.
StockRound
Can the current player do any buying?
mayCurrentPlayerBuyAnything()
- Method in class rails.game.
TreasuryShareRound
mayCurrentPlayerSellAnything()
- Method in class rails.game.
ShareSellingRound
mayCurrentPlayerSellAnything()
- Method in class rails.game.
StockRound
Can the current player do any selling?
mayCurrentPlayerSellAnything()
- Method in class rails.game.
TreasuryShareRound
mayPlayerBuyCertificate(Player, PublicCompanyI, float)
- Method in class rails.game.
StockRound
Check if a player may buy the given number of certificates.
mayPlayerSellShareOfCompany(PublicCompanyI)
- Method in class rails.game.
StockRound
mayPresidentAddCash()
- Method in class rails.game.action.
BuyTrain
maySellPrivate(Player)
- Method in class rails.game.
OperatingRound
maySellPrivate(Player)
- Method in class rails.game.specific._18TN.
OperatingRound_18TN
mayTradeShares
- Variable in class rails.game.
PublicCompany
mayTradeShares()
- Method in class rails.game.
PublicCompany
mayTradeShares()
- Method in interface rails.game.
PublicCompanyI
mayUserSetRevenue
- Variable in class rails.game.action.
SetDividend
Is the user allowed to set the revenue? Currently, this will aways be true, except if the company has no trains (the revenue is then 0).
mCities
- Variable in class rails.game.
MapHex
menuItemsToReset
- Variable in class rails.ui.swing.
GridPanel
MergeCompanies
- Class in
rails.game.action
MergeCompanies(PublicCompanyI, List<PublicCompanyI>)
- Constructor for class rails.game.action.
MergeCompanies
Common constructor.
MergeCompanies(PublicCompanyI, PublicCompanyI)
- Constructor for class rails.game.action.
MergeCompanies
MergeCompanies()
- Constructor for class rails.game.action.
MergeCompanies
Required for deserialization
mergeCompanies(MergeCompanies)
- Method in class rails.game.specific._18EU.
StockRound_18EU
Merge a minor into an already started company.
mergeEdges(NetworkEdge, NetworkEdge)
- Static method in class rails.algorithms.
NetworkEdge
mergeEdgesInGraph(Graph<NetworkVertex, NetworkEdge>, NetworkEdge, NetworkEdge)
- Static method in class rails.algorithms.
NetworkEdge
mergingCompany
- Variable in class rails.game.action.
MergeCompanies
mergingCompanyName
- Variable in class rails.game.action.
MergeCompanies
message
- Variable in class rails.ui.swing.elements.
CheckBoxDialog
message
- Variable in class rails.ui.swing.elements.
ConfirmationDialog
message
- Variable in class rails.ui.swing.elements.
MessageDialog
message
- Variable in class rails.ui.swing.elements.
RadioButtonDialog
MessageDialog
- Class in
rails.ui.swing.elements
A generic dialog for presenting choices by checkboxes.
MessageDialog(DialogOwner, JFrame, String, String)
- Constructor for class rails.ui.swing.elements.
MessageDialog
messageKey
- Static variable in class rails.ui.swing.
ORUIManager
messagePane
- Variable in class rails.ui.swing.elements.
ConfirmationDialog
MessagePanel
- Class in
rails.ui.swing
MessagePanel()
- Constructor for class rails.ui.swing.
MessagePanel
messagePanel
- Variable in class rails.ui.swing.
ORWindow
mHexes
- Variable in class rails.game.
MapManager
MIN_PLAYERS
- Static variable in class rails.game.
Player
minCol
- Variable in class rails.game.
MapManager
minCol
- Variable in class rails.ui.swing.hexmap.
HexMap
minimumBid
- Variable in class rails.game.
StartItem
minorsToMerge
- Variable in class rails.game.specific._18EU.
StartCompany_18EU
minorsToMergeNames
- Variable in class rails.game.specific._18EU.
StartCompany_18EU
minorStops
- Variable in class rails.game.
Train
minorStops
- Variable in class rails.game.
TrainType
minPlayers
- Variable in class rails.game.
PlayerManager
minRow
- Variable in class rails.game.
MapManager
minRow
- Variable in class rails.ui.swing.hexmap.
HexMap
minX
- Variable in class rails.game.
MapManager
minX
- Variable in class rails.ui.swing.hexmap.
HexMap
minY
- Variable in class rails.game.
MapManager
minY
- Variable in class rails.ui.swing.hexmap.
HexMap
mode
- Variable in class rails.game.action.
GameAction
mode
- Variable in class rails.game.action.
NullAction
model
- Variable in class rails.ui.swing.elements.
GUIStockSpace
model
- Variable in class rails.ui.swing.hexmap.
GUIHex
ModelObject
- Class in
rails.game.model
A generic superclass for all Model values that need be displayed in some form in the View (UI).
ModelObject()
- Constructor for class rails.game.model.
ModelObject
models
- Variable in class rails.game.move.
Move
Any ModelObjects that need be updated.
modifyCalculator(RevenueAdapter)
- Method in interface rails.algorithms.
RevenueStaticModifier
modifyCalculator(RevenueAdapter)
- Method in class rails.game.
Bonus
Add bonus value to revenue calculator
modifyCalculator(RevenueAdapter)
- Method in class rails.game.specific._1825.
ScoreTileOnlyOnceModifier
modifyCalculator(RevenueAdapter)
- Method in class rails.game.specific._1851.
OffBoardRevenueModifier
modifyCalculator(RevenueAdapter)
- Method in class rails.game.specific._1856.
PublicCompany_CGR
modifyCalculator(RevenueAdapter)
- Method in class rails.game.specific._18AL.
NamedTrainRevenueModifier
modifyCalculator(RevenueAdapter)
- Method in class rails.game.specific._18EU.
OffBoardRevenueModifier
modifyCalculator(RevenueAdapter)
- Method in class rails.game.specific._18Kaas.
RuhrRevenueModifier
modifyGraph(NetworkGraphBuilder)
- Method in interface rails.algorithms.
NetworkGraphModifier
modifyGraph(NetworkGraphBuilder)
- Method in class rails.game.specific._1851.
BirminghamTileModifier
money(int)
- Static method in class rails.util.
Format
MoneyModel
- Class in
rails.game.model
MoneyModel(String)
- Constructor for class rails.game.model.
MoneyModel
MoneyModel(String, int)
- Constructor for class rails.game.model.
MoneyModel
mouseClicked(MouseEvent)
- Method in class rails.ui.swing.hexmap.
HexMap
mouseClicked(MouseEvent)
- Method in class rails.ui.swing.
UpgradesPanel
mouseDragged(MouseEvent)
- Method in class rails.ui.swing.hexmap.
HexMap
mouseEntered(MouseEvent)
- Method in class rails.ui.swing.hexmap.
HexMap
mouseEntered(MouseEvent)
- Method in class rails.ui.swing.
UpgradesPanel
mouseExited(MouseEvent)
- Method in class rails.ui.swing.hexmap.
HexMap
mouseExited(MouseEvent)
- Method in class rails.ui.swing.
UpgradesPanel
mouseMoved(MouseEvent)
- Method in class rails.ui.swing.hexmap.
HexMap
mousePressed(MouseEvent)
- Method in class rails.ui.swing.hexmap.
HexMap
mousePressed(MouseEvent)
- Method in class rails.ui.swing.
UpgradesPanel
mouseReleased(MouseEvent)
- Method in class rails.ui.swing.hexmap.
HexMap
mouseReleased(MouseEvent)
- Method in class rails.ui.swing.
UpgradesPanel
Move
- Class in
rails.game.move
Move()
- Constructor for class rails.game.move.
Move
move(E, int)
- Method in class rails.game.state.
ArrayListState
Moveable
- Interface in
rails.game.move
MoveableHolder
- Interface in
rails.game.move
moveableObject
- Variable in class rails.game.move.
ObjectMove
moveDown(PublicCompanyI, int)
- Method in class rails.game.
StockMarket
moveLeftOrDown(PublicCompanyI)
- Method in class rails.game.
StockMarket
moveObjects(List<T>, MoveableHolder)
- Static method in class rails.util.
Util
Safely move a list of objects from one holder to another, avoiding ConcurrentModificationExceptions.
moveRightOrUp(PublicCompanyI)
- Method in class rails.game.
StockMarket
MoveSet
- Class in
rails.game.move
MoveSet(boolean)
- Constructor for class rails.game.move.
MoveSet
moveStack
- Variable in class rails.game.
GameManager
The MoveSet stack is maintained to enable Undo and Redo throughout the game.
MoveStack
- Class in
rails.game.move
This class represent one game's complete "move stack", which is a list of MoveSets.
MoveStack()
- Constructor for class rails.game.move.
MoveStack
moveStack
- Variable in class rails.game.
Round
moveStackIndex
- Variable in class rails.game.action.
GameAction
moveTo(MoveableHolder)
- Method in interface rails.game.move.
Moveable
moveTo(MoveableHolder)
- Method in class rails.game.
PrivateCompany
moveTo(MoveableHolder)
- Method in class rails.game.
PublicCertificate
moveTo(MoveableHolder)
- Method in class rails.game.special.
SpecialProperty
Move the special property to another holder.
moveTo(MoveableHolder)
- Method in interface rails.game.special.
SpecialPropertyI
moveTo(MoveableHolder)
- Method in class rails.game.specific._18AL.
NameableTrain
moveTo(MoveableHolder)
- Method in class rails.game.
Token
moveTo(MoveableHolder)
- Method in class rails.game.
Train
moveToNextStep()
- Method in class rails.game.correct.
MapCorrectionAction
moveUp(PublicCompanyI)
- Method in class rails.game.
StockMarket
moveUp(PublicCompanyI)
- Method in interface rails.game.
StockMarketI
MS_ID
- Static variable in class rails.game.specific._1835.
GameManager_1835
mTrainTypes
- Variable in class rails.game.
TrainManager
mustHaveOperatedToTradeShares
- Variable in class rails.game.
PublicCompany
mustHaveOperatedToTradeShares()
- Method in class rails.game.
PublicCompany
mustHaveOperatedToTradeShares()
- Method in interface rails.game.
PublicCompanyI
mustOwnATrain
- Variable in class rails.game.
PublicCompany
Must the company own a train
mustOwnATrain()
- Method in class rails.game.
PublicCompany
mustOwnATrain()
- Method in interface rails.game.
PublicCompanyI
mustOwnATrain()
- Method in class rails.game.specific._1856.
PublicCompany_CGR
mustPresidentAddCash()
- Method in class rails.game.action.
BuyTrain
mustSelectAPrice()
- Method in class rails.game.action.
StartCompany
mustTradeTrainsAtFixedPrice
- Variable in class rails.game.
PublicCompany
mustTradeTrainsAtFixedPrice()
- Method in class rails.game.
PublicCompany
mustTradeTrainsAtFixedPrice()
- Method in interface rails.game.
PublicCompanyI
myTurn
- Variable in class rails.ui.swing.
GameUIManager
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z