Companypublic interface ICompany
| Modifier and Type | Method | Description |
|---|---|---|
javafx.beans.property.LongProperty |
cashProperty() |
Retrieve the cash property.
|
long |
getCash() |
Retrieve the cash avalable to the company
|
long |
getCompanyValue() |
Retrieve the total value of the company
|
ICity |
getHomeTown() |
Retrieve the home town of the company
|
void |
setCompanyValue(long newValue) |
Set a new company value.
|
void |
updateCash(long diff) |
Add or subtract some cash
|
void |
updateCashDirectly(long diff) |
Add or subtract some cash directly.
|
ICity getHomeTown()
long getCompanyValue()
void setCompanyValue(long newValue)
newValue - new value replacing the old valuelong getCash()
void updateCashDirectly(long diff)
diff - delta amount of cash to be updatedvoid updateCash(long diff)
diff - amount of money that is transferredjavafx.beans.property.LongProperty cashProperty()
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.