public interface ICityHall
| Modifier and Type | Method and Description |
|---|---|
List<ICitizen> |
getCandidates()
Retrieve the list of candidates for the next election.
|
List<ICityGuard> |
getCityGuard()
Retrieve the city guard.
|
ICitizen |
getElderman()
Retrieve the elderman.
|
List<ICitizen> |
getEldermanCandidates()
Retrieve the top four of the candidates for the elderman post.
|
org.joda.time.DateTime |
getEldermanElectionDate()
Date of the next elderman election.
|
com.google.common.base.Optional<IEldermanOffice> |
getEldermanOffice()
Retrieve the office of the elderman.
|
org.joda.time.DateTime |
getElectionDate()
Date of the next election.
|
ICitizen |
getMayor()
Current mayor of the city
|
com.google.common.base.Optional<org.joda.time.DateTime> |
getNextCouncilMeeting()
Date of the next council meeting to discuss a petition.
|
List<ICityHallNotice> |
getNotices()
Retrieve the list of notices for wares that can be delivered
to other cities at a guaranteed price.
|
com.google.common.base.Optional<IShip> |
getOutrigger()
Current outrigger of the city.
|
com.google.common.base.Optional<ICityPetition> |
getPetition()
Petition to be discussed at the next council meeting.
|
ITreasury |
getTreasury()
Retrieve the treasury.
|
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.
|
List<ICityHallNotice> getNotices()
com.google.common.base.Optional<IShip> getOutrigger()
ICitizen getMayor()
org.joda.time.DateTime getElectionDate()
List<ICitizen> getCandidates()
com.google.common.base.Optional<org.joda.time.DateTime> getNextCouncilMeeting()
com.google.common.base.Optional<ICityPetition> getPetition()
ICitizen getElderman()
org.joda.time.DateTime getEldermanElectionDate()
List<ICitizen> getEldermanCandidates()
ITreasury getTreasury()
List<ICityGuard> getCityGuard()
com.google.common.base.Optional<IEldermanOffice> getEldermanOffice()
void updateDaily()
void updateWeekly()
void updateMonthly()
void updateEndOfYear()
Copyright © 2011-2015 Sahits GmbH. All Rights Reserved.