Interface IPirateHunter
-
- All Superinterfaces:
IPerson,ISideRoomPerson,ITavernPerson
- All Known Implementing Classes:
PirateHunterState
public interface IPirateHunter extends ISideRoomPerson
Task to hunt down a priate based on aIMapSection.- 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 java.lang.StringgetClientName()Name of the clientjava.lang.StringgetPirateName()Retrieve the name of the client.intgetPremium()Retrieve the promissed premium.voidsetClientName(java.lang.String clientName)Set the name of the clientvoidsetPirateName(java.lang.String pirateName)Set the name of the piratevoidsetPremium(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
-
getClientName
java.lang.String getClientName()
Name of the client- Returns:
- name of the citizen issueing the request
-
getPirateName
java.lang.String getPirateName()
Retrieve the name of the client.- Returns:
- name of the pirate
-
getPremium
int getPremium()
Retrieve the promissed premium.- Returns:
- premium when the pirate is defeated.
-
setClientName
void setClientName(java.lang.String clientName)
Set the name of the client- Parameters:
clientName- name of the requester
-
setPirateName
void setPirateName(java.lang.String pirateName)
Set the name of the pirate- Parameters:
pirateName- name of hte pirate
-
setPremium
void setPremium(int premium)
Set the premium- Parameters:
premium- to be paid after completion.
-
-