public class PopulationUpdateStats
extends java.lang.Object
| Constructor | Description |
|---|---|
PopulationUpdateStats() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
arrives(INavigableVessel vessel) |
Arriving ships
|
void |
depart(INavigableVessel vessel) |
Departing ships.
|
void |
feedingThePoor() |
Indicate that the poor were feed.
|
void |
hiredInWorkshop(int nbWorkers) |
Number of workers hired in workshops
|
void |
hireSailors(int nbSailors) |
Amount of sailors hired.
|
void |
reset() |
Reset the state.
|
public void reset()
public void hireSailors(int nbSailors)
nbSailors - number of sailors that were hiredpublic void feedingThePoor()
public void hiredInWorkshop(int nbWorkers)
nbWorkers - number of workers that were hiredpublic void arrives(INavigableVessel vessel)
vessel - that arrivedpublic void depart(INavigableVessel vessel)
vessel - that departedCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.