public interface ICompany
| Type | Property and Description |
|---|---|
javafx.beans.property.LongProperty |
cash
Retrieve the cash property.
|
| Modifier and Type | Method and 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
|
javafx.beans.property.LongProperty cashProperty
getCash()ICity getHomeTown()
long getCompanyValue()
void setCompanyValue(long newValue)
newValue - long getCash()
void updateCash(long diff)
diff - amount of money that is transferredjavafx.beans.property.LongProperty cashProperty()
getCash()Copyright © 2011-2017 Sahits GmbH. All Rights Reserved.