rails.game
Interface CashHolder

All Known Subinterfaces:
PublicCompanyI
All Known Implementing Classes:
Bank, Investor_1880, Player, PublicCompany, PublicCompany_1825, PublicCompany_1856, PublicCompany_1880, PublicCompany_CGR

public interface CashHolder


Method Summary
 void addCash(int amount)
          Add (or subtract) cash.
 int getCash()
          Returns the amount of cash.
 ModelObject getCashModel()
           
 java.lang.String getName()
          Get the cash owner's name (needed for logging)
 

Method Detail

getCash

int getCash()
Returns the amount of cash.

Returns:
current amount.

getCashModel

ModelObject getCashModel()

addCash

void addCash(int amount)
Add (or subtract) cash.


getName

java.lang.String getName()
Get the cash owner's name (needed for logging)