|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Portfolio | |
---|---|
rails.game | |
rails.game.action | |
rails.game.model | |
rails.game.specific._1825 | |
rails.game.specific._1835 | |
rails.game.specific._1856 | |
rails.ui.swing |
Uses of Portfolio in rails.game |
---|
Fields in rails.game declared as Portfolio | |
---|---|
protected Portfolio |
Train.holder
|
protected Portfolio |
TrainManager.ipo
|
protected Portfolio |
Round.ipo
|
protected Portfolio |
Round.pool
|
protected Portfolio |
PublicCertificate.portfolio
Current holder of the certificate |
protected Portfolio |
Company.portfolio
|
protected Portfolio |
Round.scrapHeap
|
protected Portfolio |
TrainManager.unavailable
|
protected Portfolio |
Round.unavailable
|
Fields in rails.game with type parameters of type Portfolio | |
---|---|
protected java.util.Map<java.lang.String,Portfolio> |
GameManager.portfolioMap
Map relating portfolio names and objects, to enable deserialization. |
protected java.util.Map<java.lang.String,Portfolio> |
GameManager.portfolioUniqueNameMap
Map relating portfolio unique names and objects, to enable deserialization |
Methods in rails.game that return Portfolio | |
---|---|
Portfolio |
TrainI.getHolder()
|
Portfolio |
Train.getHolder()
|
Portfolio |
Bank.getIpo()
|
Portfolio |
Bank.getPool()
|
Portfolio |
PublicCertificate.getPortfolio()
|
Portfolio |
PrivateCompany.getPortfolio()
|
Portfolio |
Player.getPortfolio()
|
Portfolio |
CompanyI.getPortfolio()
Get the Portfolio of this company, containing all privates and certificates owned.. |
Portfolio |
Company.getPortfolio()
Get the Portfolio of this company, containing all privates and certificates owned.. |
Portfolio |
Certificate.getPortfolio()
|
Portfolio |
GameManagerI.getPortfolioByName(java.lang.String name)
|
Portfolio |
GameManager.getPortfolioByName(java.lang.String name)
|
Portfolio |
GameManagerI.getPortfolioByUniqueName(java.lang.String name)
|
Portfolio |
GameManager.getPortfolioByUniqueName(java.lang.String name)
|
Portfolio |
Bank.getScrapHeap()
|
Portfolio |
Bank.getUnavailable()
|
Methods in rails.game with parameters of type Portfolio | |
---|---|
void |
GameManagerI.addPortfolio(Portfolio portfolio)
|
void |
GameManager.addPortfolio(Portfolio portfolio)
|
void |
PublicCompanyI.buyPrivate(PrivateCompanyI privateCompany,
Portfolio from,
int price)
|
void |
PublicCompany.buyPrivate(PrivateCompanyI privateCompany,
Portfolio from,
int price)
|
void |
TrainManager.checkTrainAvailability(TrainI train,
Portfolio from)
This method handles any consequences of new train buying (from the IPO), such as rusting and phase changes. |
protected void |
StockRound.gameSpecificChecks(Portfolio boughtFrom,
PublicCompanyI company)
Stub, may be overridden in subclasses |
protected CashHolder |
StockRound.getSharePriceRecipient(PublicCompanyI comp,
Portfolio from,
int price)
Who receives the cash when a certificate is bought. |
protected void |
Round.pay(Portfolio from,
Portfolio to,
int amount)
|
void |
TrainI.setHolder(Portfolio newHolder)
|
void |
Train.setHolder(Portfolio newHolder)
Move the train to another Portfolio. |
void |
PrivateCompanyI.setHolder(Portfolio portfolio)
|
void |
PrivateCompany.setHolder(Portfolio portfolio)
|
void |
PublicCertificateI.setPortfolio(Portfolio portfolio)
|
void |
PublicCertificate.setPortfolio(Portfolio portfolio)
|
void |
TrainTypeI.setRusted(Portfolio lastBuyingCompany)
|
void |
TrainType.setRusted(Portfolio lastBuyingCompany)
|
java.util.List<PublicCertificateI> |
Portfolio.swapPresidentCertificate(PublicCompanyI company,
Portfolio other)
Swap this Portfolio's President certificate for common shares in another Portfolio. |
void |
Portfolio.transferAssetsFrom(Portfolio otherPortfolio)
|
protected void |
Round.transferCertificate(Certificate cert,
Portfolio newHolder)
|
protected void |
Round.transferCertificates(java.util.List<? extends Certificate> certs,
Portfolio newHolder)
|
Uses of Portfolio in rails.game.action |
---|
Fields in rails.game.action declared as Portfolio | |
---|---|
protected Portfolio |
BuyCertificate.from
|
Methods in rails.game.action that return Portfolio | |
---|---|
Portfolio |
BuyTrain.getFromPortfolio()
|
Portfolio |
BuyCertificate.getFromPortfolio()
|
Portfolio |
BuyTrain.getHolder()
|
Constructors in rails.game.action with parameters of type Portfolio | |
---|---|
BuyCertificate(PublicCompanyI company,
int sharePerCert,
Portfolio from,
int price)
Buy a certificate from some portfolio at a given price |
|
BuyCertificate(PublicCompanyI company,
int sharePerCert,
Portfolio from,
int price,
int maximumNumber)
|
|
BuyTrain(TrainI train,
Portfolio from,
int fixedCost)
|
Uses of Portfolio in rails.game.model |
---|
Constructors in rails.game.model with parameters of type Portfolio | |
---|---|
ShareModel(Portfolio portfolio,
PublicCompanyI company)
|
|
TrainsModel(Portfolio portfolio)
|
Uses of Portfolio in rails.game.specific._1825 |
---|
Methods in rails.game.specific._1825 with parameters of type Portfolio | |
---|---|
protected void |
StockRound_1825.gameSpecificChecks(Portfolio boughtFrom,
PublicCompanyI company)
In 1825, whenever a company is sold out, the block of companies with the next lowest price become available. |
Uses of Portfolio in rails.game.specific._1835 |
---|
Methods in rails.game.specific._1835 with parameters of type Portfolio | |
---|---|
protected void |
StockRound_1835.gameSpecificChecks(Portfolio boughtFrom,
PublicCompanyI company)
The company release rules for 1835. |
Uses of Portfolio in rails.game.specific._1856 |
---|
Methods in rails.game.specific._1856 with parameters of type Portfolio | |
---|---|
protected void |
StockRound_1856.gameSpecificChecks(Portfolio boughtFrom,
PublicCompanyI company)
Check for the special condition that the CGR president has just bought his second share. |
protected CashHolder |
StockRound_1856.getSharePriceRecipient(PublicCompanyI company,
Portfolio from,
int price)
|
Uses of Portfolio in rails.ui.swing |
---|
Fields in rails.ui.swing declared as Portfolio | |
---|---|
protected Portfolio |
GameStatus.ipo
|
protected Portfolio |
GameStatus.pool
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |