Class CourierState
- java.lang.Object
-
- ch.sahits.game.openpatrician.model.people.impl.BaseTavernPerson
-
- ch.sahits.game.openpatrician.model.people.impl.BasePatrolState
-
- ch.sahits.game.openpatrician.model.people.impl.CourierState
-
- All Implemented Interfaces:
IBasePatrol
,ICourier
,IPerson
,ISideRoomPerson
,ITavernPerson
public class CourierState extends BasePatrolState implements ICourier
Implementation of a courier. Every city can have a courier and is referenced through it's TavernEngine.- Author:
- Andi Hotz, (c) Sahits GmbH, 2013 Created on Jan 20, 2013
-
-
Field Summary
Fields Modifier and Type Field Description private int
premium
-
Fields inherited from class ch.sahits.game.openpatrician.model.people.impl.BasePatrolState
currentDestIndex, destinations
-
Fields inherited from class ch.sahits.game.openpatrician.model.people.impl.BaseTavernPerson
date
-
-
Constructor Summary
Constructors Constructor Description CourierState()
-
Method Summary
-
Methods inherited from class ch.sahits.game.openpatrician.model.people.impl.BaseTavernPerson
arrive, getMaxDaysAbsent, getMaxDaysPresent, getNumberOfDaysSinceArrival, isPresent, isPresentProperty, leave
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ch.sahits.game.openpatrician.model.people.IBasePatrol
getCurrentDestIndex, getDestinations, getName, getPremium, setCurrentDestIndex, setDestinations, setName, setPremium
-
Methods inherited from interface ch.sahits.game.openpatrician.model.people.ITavernPerson
arrive, getArrivalDate, getMaxDaysAbsent, getMaxDaysPresent, getNumberOfDaysSinceArrival, isPresent, isPresentProperty, leave, setCity
-
-