Interface ITreasureMapOwner
-
- All Superinterfaces:
IPerson,ISideRoomPerson,ITavernPerson
- All Known Implementing Classes:
TreasureMapOwnerState
public interface ITreasureMapOwner extends ISideRoomPerson
The owner of a treasure map offers you a part of it to be sold.- 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.StringgetName()Name of the ownerintgetPrice()Retrieve the price of the treasure map.voidsetName(java.lang.String name)Set the name of the map ownervoidsetPrice(int price)Set the price for a map segment-
Methods inherited from interface ch.sahits.game.openpatrician.model.people.ITavernPerson
arrive, getArrivalDate, getMaxDaysAbsent, getMaxDaysPresent, getNumberOfDaysSinceArrival, isPresent, isPresentProperty, leave, setCity
-
-
-
-
Method Detail
-
getName
java.lang.String getName()
Name of the owner- Returns:
- of the map owner.
-
getPrice
int getPrice()
Retrieve the price of the treasure map.- Returns:
- for the map segment
-
setName
void setName(java.lang.String name)
Set the name of the map owner- Parameters:
name- of map owner
-
setPrice
void setPrice(int price)
Set the price for a map segment- Parameters:
price- for the map segment.
-
-