| Constructor | Description |
|---|---|
Steward() |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getTotalProfit() |
Retrieve the amount of profit the steward made.
|
void |
updateProfit(int profit) |
Add the profit the total profit.
|
void |
upgradeToNextLevel() |
Increase the experiance level by one.
|
getExpertiseLevel, getSalarypublic int getTotalProfit()
IStewardgetTotalProfit in interface IStewardpublic void updateProfit(int profit)
IStewardupdateProfit in interface IStewardprofit - additional profit to the total (may be negative)public void upgradeToNextLevel()
IStewardupgradeToNextLevel in interface IStewardCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.