ch.sahits.game.openpatrician.model
Class AIPlayer
java.lang.Object
ch.sahits.game.openpatrician.model.Player
ch.sahits.game.openpatrician.model.AIPlayer
- All Implemented Interfaces:
- IAIPlayer, IPlayer
class AIPlayer
- extends Player
- implements IAIPlayer
Implementation of an artificial intelligence player.
- Author:
- Andi Hotz, (c) Sahits GmbH, 2011
Created on Sep 17, 2011
| Methods inherited from class ch.sahits.game.openpatrician.model.Player |
addShip, equals, findBuildings, findBuildings, findTradingOffice, getCareerLevel, getCash, getCompany, getFleet, getHometown, getLastName, getName, getPersonalData, getRank, getSpouseData, hashCode, isMale, marry, removeShip, updateCash, updateRank, widow |
| Methods inherited from interface ch.sahits.game.openpatrician.model.IPlayer |
addShip, findBuildings, findBuildings, findTradingOffice, getCareerLevel, getCash, getCompany, getFleet, getHometown, getLastName, getName, getPersonalData, getRank, getSpouseData, isMale, removeShip, updateCash, updateRank |
firstNameLoader
private static RandomNameLoader firstNameLoader
lastNameLoader
private static RandomNameLoader lastNameLoader
AIPlayer
public AIPlayer(ICity homeTown,
long cash,
DateObject birthDate)
getPersonalData
private static PersonalData getPersonalData(ICity homeTown,
DateObject birthDate)
getRandomFirstName
private static String getRandomFirstName()
getRandomLastName
private static String getRandomLastName()
Copyright © 2011-2012 Sahits GmbH. All Rights Reserved.