Interface ISmuggler
-
- All Superinterfaces:
IPerson
,ISideRoomPerson
,ITavernPerson
- All Known Implementing Classes:
SmugglerState
public interface ISmuggler extends ISideRoomPerson
A smuggler request delivery of some wares into another city.- Author:
- Andi Hotz, (c) Sahits GmbH, 2013 Created on Jan 27, 2013
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getAmount()
Retrieve the amount of ware that is to be smuggled.ICity
getDestination()
Destination city.int
getPremium()
Retrieve hte premium for the smuggling.void
setAmount(int amount)
Set the amount of goods.void
setDestination(ICity destination)
Set the destinationvoid
setPremium(int premium)
Set the premium.-
Methods inherited from interface ch.sahits.game.openpatrician.model.people.ITavernPerson
arrive, getArrivalDate, getMaxDaysAbsent, getMaxDaysPresent, getNumberOfDaysSinceArrival, isPresent, isPresentProperty, leave, setCity
-
-
-
-
Method Detail
-
getAmount
int getAmount()
Retrieve the amount of ware that is to be smuggled. The amount is in barrels.- Returns:
- amount of the goods that should be smuggled.
-
getDestination
ICity getDestination()
Destination city.- Returns:
- city where the goods should be smuggled to.
-
getPremium
int getPremium()
Retrieve hte premium for the smuggling.- Returns:
- premium for smuggling
-
setAmount
void setAmount(int amount)
Set the amount of goods.- Parameters:
amount
- to be smuggled.
-
setPremium
void setPremium(int premium)
Set the premium.- Parameters:
premium
- for task completion
-
setDestination
void setDestination(ICity destination)
Set the destination- Parameters:
destination
- where the goods are smuggled to.
-
-