Interface ICitizen
-
- All Superinterfaces:
ICreditor
- All Known Subinterfaces:
IAIPlayer,IHumanPlayer,IPlayer
- All Known Implementing Classes:
AIPlayer,Citizen,HumanPlayer,Player
public interface ICitizen extends ICreditor
- Author:
- Andi Hotz, (c) Sahits GmbH, 2014 Created on Dec 30, 2014
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ICitygetHometown()Retreive the hometown of the citizen.java.lang.StringgetLastName()Get a players last namejava.lang.StringgetName()Retrieve the players nameESocialRankgetRank()Retrieve the social rank of the player-
Methods inherited from interface ch.sahits.game.openpatrician.model.city.ICreditor
receiveSum
-
-
-
-
Method Detail
-
getName
java.lang.String getName()
Retrieve the players name- Returns:
- first name of the citizen.
-
getLastName
java.lang.String getLastName()
Get a players last name- Returns:
- last name of the citizen
-
getRank
ESocialRank getRank()
Retrieve the social rank of the player- Returns:
- social rank of the citizen
-
getHometown
ICity getHometown()
Retreive the hometown of the citizen.- Returns:
- home city of the citizen.
-
-