Package rails.game

Interface Summary
CashHolder  
Certificate The superinterface of PrivateCompanyI and PublicCertificateI, which allows objects implementating these interfaces to be combined in start packets and other contexts where their "certificateship" is of interest.
Closeable  
CompanyI To be implemented by any Company object.
CompanyManagerI Interface for CompanyManager objects.
CompanyTypeI The interface for StockSpaceType.
ConfigurableComponentI Interface for rails.game components which can be configured from an XML element.
GameManagerI  
PhaseI  
PrivateCompanyI  
PublicCertificateI  
PublicCompanyI Interface to be used to access PublicCompany instances.
RoundI A common interface to the various "Rounds".
StartRoundI  
StationHolder  
StockMarketI  
StockSpaceI  
StockSpaceTypeI The interface for StockSpaceType.
TileI  
TokenHolder Interface for implementing a TokenHolder A TokenHolder is any object that can have a token played upon it.
TokenI  
TrainI  
TrainTypeI  
 

Class Summary
Bank  
BaseToken A BaseToken object represents a token that a operating public company can place on the map to act as a rail building and train running starting point.
Bonus An object of class Bonus represent extra income for the owning company, usually connected to certain map locations.
BonusToken A BonusToken object represents a token that a operating public company can place on the map to gain extra revenue or other privileges.
City A City object represents any junction on the map that is relevant for establishing train run length and revenue calculation.
Company  
CompanyManager  
CompanyType Objects of this class represent a particular type of company, of which typically multiple instances exist in a rails.game.
ComponentManager ComponentManage - an implementation of ComponentManagerI, which handles the creation and configuration of rails.game components, and acts as a discovery point for other components to find them.
DisplayBuffer Class to write a log, and also to maintain a log message stack for writing to the UI.
EndOfGameRound EndOfGameRound is a dummy implementation of the Round class It generates no additional actions.
Game  
GameDef This class will hold parameter identifiers for use in the game engine only.
GameManager This class manages the playing rounds by supervising all implementations of Round.
GameOption  
GamesInfo  
MapHex Represents a Hex on the Map from the Model side.
MapManager MapManager configures the map layout from XML
OperatingRound Implements a basic Operating Round.
Phase  
PhaseManager  
Player Player class holds all player-specific data
PlayerManager  
Portfolio  
PrivateCompany  
PublicCertificate  
PublicCompany This class provides an implementation of a (perhaps only basic) public company.
ReportBuffer Class to write a log, and also to maintain a log message stack for writing to the UI.
Round  
ShareSellingRound  
StartItem Each object of this class represents a "start packet item", which consist of one or two certificates.
StartPacket A Start Packet comprises a number of Start Items.
StartRound  
StartRound_1830 Implements an 1830-style initial auction.
StartRound_1835 Implements an 1835-style startpacket sale.
Station A Station object represents any junction on a tile, where one, two or more track fragments meet.
StockMarket  
StockRound Implements a basic Stock Round.
StockSpace Objects of this class represent a square on the StockMarket.
StockSpaceType Objects of this class represent a type of square on the StockMarket with special properties,usually represented by a non-white square colour.
SwitchableUIRound Abstract class for rounds that cannot be subclassed for one of the other Round subclasses because UI is switchable: in some steps, an SR-type UI and in other steps an OR-type UI should be displayed.
Tile Represents a certain tile type, identified by its id (tile number).
TileManager  
Token  
Track Represents a piece of track on one tile.
Train  
TrainManager  
TrainType  
TreasuryShareRound  
 

Enum Summary
GameDef.OrStep OR step values
GameDef.Parm  
MapHex.Run  
 

Exception Summary
ConfigurationException Class for reporting problems with reading configuration files.