Interface IFoundNewSettlement
-
- All Superinterfaces:
IAldermanTask
- All Known Implementing Classes:
FoundNewSettlement
public interface IFoundNewSettlement extends IAldermanTask
Found a new settlement.- Author:
- Andi Hotz, (c) Sahits GmbH, 2014 Created on Dec 31, 2014
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javafx.geometry.Point2D
getLocation()
Location of the city to be founded.java.lang.String
getName()
Get the city name.boolean
isRiver()
check if the town is on a river.-
Methods inherited from interface ch.sahits.game.openpatrician.model.city.cityhall.IAldermanTask
getDueDate, getDuration
-
-
-
-
Method Detail
-
getLocation
javafx.geometry.Point2D getLocation()
Location of the city to be founded.- Returns:
- location where to found a new city.
-
getName
java.lang.String getName()
Get the city name.- Returns:
- name of the new city.
-
isRiver
boolean isRiver()
check if the town is on a river.- Returns:
- true if the new city is located at a river.
-
-