| Modifier and Type | Field and Description |
|---|---|
private List<ICitizen> |
candidates |
private List<ICityGuard> |
cityGuard |
private ICitizen |
elderman |
private List<ICitizen> |
eldermanCandidates |
private org.joda.time.DateTime |
eldermanElectionDate |
private com.google.common.base.Optional<IEldermanOffice> |
eldermanOffice |
private org.joda.time.DateTime |
electionDate |
private ICitizen |
mayor |
private com.google.common.base.Optional<org.joda.time.DateTime> |
nextCouncilMeeting |
private List<ICityHallNotice> |
notices |
private com.google.common.base.Optional<IShip> |
outrigger |
private com.google.common.base.Optional<ICityPetition> |
petition |
private ITreasury |
treasury |
| Constructor and Description |
|---|
CityHall() |
| Modifier and Type | Method and Description |
|---|---|
void |
updateDaily()
Method handling daily updates.
|
void |
updateEndOfYear()
Method to handel the end of year updates.
|
void |
updateMonthly()
Method handling monthly updates.
|
void |
updateWeekly()
Method handling weekly updates.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCandidates, getCityGuard, getElderman, getEldermanCandidates, getEldermanElectionDate, getEldermanOffice, getElectionDate, getMayor, getNextCouncilMeeting, getNotices, getOutrigger, getPetition, getTreasuryprivate final List<ICityHallNotice> notices
private com.google.common.base.Optional<IShip> outrigger
private ICitizen mayor
private org.joda.time.DateTime electionDate
private com.google.common.base.Optional<org.joda.time.DateTime> nextCouncilMeeting
private com.google.common.base.Optional<ICityPetition> petition
private ICitizen elderman
private org.joda.time.DateTime eldermanElectionDate
private final ITreasury treasury
private final List<ICityGuard> cityGuard
private com.google.common.base.Optional<IEldermanOffice> eldermanOffice
public void updateDaily()
ICityHallupdateDaily in interface ICityHallpublic void updateWeekly()
ICityHallupdateWeekly in interface ICityHallpublic void updateMonthly()
ICityHallupdateMonthly in interface ICityHallpublic void updateEndOfYear()
ICityHallupdateEndOfYear in interface ICityHallCopyright © 2011-2015 Sahits GmbH. All Rights Reserved.