Package jfreerails.world.accounts

Provides classes to record a players assets (for example, real estate, miles-of-track, cash, and shares) and liabilities (for example, outstanding shares and bonds, and any overdraft).

See:
          Description

Interface Summary
Transaction A Transaction is a change in a player's bank balance and/or assets.
 

Class Summary
AddItemTransaction This Transaction represents the charge/credit for buying/selling an item.
Bill For example, the cost of buying a trains.
BondTransaction A Transaction that adds or removes a Bond.
DeliverCargoReceipt A credit for delivering cargo.
EconomicClimate Represents the state of the economy.
Receipt A credit.
StockTransaction A transaction that occurs when a new company is founded or when a company issues additional shares.
TransactionAndTimeStamp  
 

Enum Summary
Transaction.Category  
 

Package jfreerails.world.accounts Description

Provides classes to record a players assets (for example, real estate, miles-of-track, cash, and shares) and liabilities (for example, outstanding shares and bonds, and any overdraft). Each player has a BankAccount that stores a growing list of Transactions. Transactions are used represent bills and receipts for a player as well as record changes in a players physical assets such as miles-of-track. Totals can be calculated by adding up the relevant transactions in the players account.