Uses of Interface
ch.sahits.game.openpatrician.model.ICitizen
-
-
Uses of ICitizen in ch.sahits.game.openpatrician.model
Subinterfaces of ICitizen in ch.sahits.game.openpatrician.model Modifier and Type Interface Description interfaceIAIPlayerPlayer interface defining an artificial player.interfaceIHumanPlayerThis player represents a human player.interfaceIPlayerBase player in the game. -
Uses of ICitizen in ch.sahits.game.openpatrician.model.city
Methods in ch.sahits.game.openpatrician.model.city that return ICitizen Modifier and Type Method Description ICitizenILoanRequest. getCitizen()Who wants the loan.Methods in ch.sahits.game.openpatrician.model.city that return types with arguments of type ICitizen Modifier and Type Method Description java.util.List<ICitizen>ICity. getCitizen()Retrieve the list of citizen in the city.Methods in ch.sahits.game.openpatrician.model.city with parameters of type ICitizen Modifier and Type Method Description intICity. move(IWare ware, int amount, ICitizen player)Add or remove ware from the city. -
Uses of ICitizen in ch.sahits.game.openpatrician.model.city.cityhall
Methods in ch.sahits.game.openpatrician.model.city.cityhall that return ICitizen Modifier and Type Method Description ICitizenAldermanCandidateList. get(int index)ICitizenICityHall. getAlderman()Retrieve the alderman.ICitizenICityHall. getMayor()Current mayor of the cityMethods in ch.sahits.game.openpatrician.model.city.cityhall that return types with arguments of type ICitizen Modifier and Type Method Description java.util.List<ICitizen>AldermanCandidateList. getAll()java.util.List<ICitizen>ICityHall. getCandidates()Retrieve the list of candidates for the next election.java.util.List<ICitizen>ICityHall. getCouncilmen()Retrieve the list of all councilmen of the cityjava.util.Map<ICitizen,java.lang.Integer>IElectionResult. getVotes()Retrieve the votes every citizen recieved.Methods in ch.sahits.game.openpatrician.model.city.cityhall with parameters of type ICitizen Modifier and Type Method Description booleanAldermanCandidateList. add(ICitizen iCitizen)voidIElectionResult. vote(ICitizen citizen)Vote for citizen. -
Uses of ICitizen in ch.sahits.game.openpatrician.model.city.cityhall.impl
Methods in ch.sahits.game.openpatrician.model.city.cityhall.impl with parameters of type ICitizen Modifier and Type Method Description voidElection. vote(ICitizen citizen) -
Uses of ICitizen in ch.sahits.game.openpatrician.model.city.impl
Methods in ch.sahits.game.openpatrician.model.city.impl that return ICitizen Modifier and Type Method Description ICitizenIDebt. getDebitor()Retrieve the citizen that is in debt.Methods in ch.sahits.game.openpatrician.model.city.impl with parameters of type ICitizen Modifier and Type Method Description intCity. move(IWare ware, int amount, ICitizen player)Move ware into this holding. -
Uses of ICitizen in ch.sahits.game.openpatrician.model.impl
Classes in ch.sahits.game.openpatrician.model.impl that implement ICitizen Modifier and Type Class Description classAIPlayerImplementation of an artificial intelligence player.classCitizenA citizen is an inhabitatant of a town, who does not directly partake in the game play.classHumanPlayerclassPlayerMethods in ch.sahits.game.openpatrician.model.impl with parameters of type ICitizen Modifier and Type Method Description intWareHolding. move(IWare ware, int amount, ICitizen player)Move ware into this holding.
-