IBowmen, ICrossbowmen, IMusketeer, IPikemenBowmen, CityGuard, Crossbowmen, Musketeer, Pikemenpublic interface ICityGuard
| Modifier and Type | Method | Description |
|---|---|---|
int |
getAmount() |
Amount of the city guard.
|
int |
getWeeklySalary() |
Weekly salary per guard.
|
void |
update(int amount) |
Change the amount by a positive or negative amount.
|
int getAmount()
void update(int amount)
amount - new number of city guards.int getWeeklySalary()
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.