Uses of Interface
ch.sahits.game.openpatrician.model.personal.ISpouseData
-
-
Uses of ISpouseData in ch.sahits.game.openpatrician.clientserverinterface.model.event
Fields in ch.sahits.game.openpatrician.clientserverinterface.model.event declared as ISpouseData Modifier and Type Field Description private ISpouseData
MarriageAnnouncementState. spouse
private ISpouseData
MarriageOfferState. spouse
private ISpouseData
MarriageCelebrationState.Builder. spouseData
private ISpouseData
MarriageCelebrationState. spouseData
Fields in ch.sahits.game.openpatrician.clientserverinterface.model.event with type parameters of type ISpouseData Modifier and Type Field Description private java.util.Optional<ISpouseData>
FireState. killedSpouse
private java.util.Optional<ISpouseData>
PlagueState. killedSpouse
Methods in ch.sahits.game.openpatrician.clientserverinterface.model.event with parameters of type ISpouseData Modifier and Type Method Description MarriageCelebrationState.Builder
MarriageCelebrationState.Builder. spouseData(ISpouseData spouseData)
Constructors in ch.sahits.game.openpatrician.clientserverinterface.model.event with parameters of type ISpouseData Constructor Description MarriageAnnouncementState(java.time.LocalDateTime date, ISpouseData spouse, java.time.LocalDateTime weddingDate, IPlayer player)
MarriageCelebrationState(CelebrationSuccess success, int amountGuests, java.time.LocalDateTime date, java.lang.String location, ISpouseData spouseData)
MarriageOfferState(java.time.LocalDateTime date, java.lang.String location, IPlayer player, ISpouseData spouse, java.lang.String fromFirstName, java.lang.String fromLastName, java.time.LocalDateTime tillDate, boolean accepted)
Constructor parameters in ch.sahits.game.openpatrician.clientserverinterface.model.event with type arguments of type ISpouseData Constructor Description FireState(java.time.LocalDateTime date, java.lang.String location, int destroyedBuildings, int deathtoll, java.util.Optional<ISpouseData> killedSpouse)
PlagueState(java.time.LocalDateTime date, java.lang.String location, java.time.LocalDateTime since, int deathtoll, java.util.Optional<ISpouseData> killedSpouse)
-
Uses of ISpouseData in ch.sahits.game.openpatrician.clientserverinterface.model.factory
Methods in ch.sahits.game.openpatrician.clientserverinterface.model.factory that return ISpouseData Modifier and Type Method Description ISpouseData
StateFactory. createSpouse(MarriageBrokerAnnouncementState state, IPlayer player)
Create a spouse based on a broker offer and the corresponding player -
Uses of ISpouseData in ch.sahits.game.openpatrician.clientserverinterface.model.task
Fields in ch.sahits.game.openpatrician.clientserverinterface.model.task declared as ISpouseData Modifier and Type Field Description private ISpouseData
MarriageTask. spouseData
Constructors in ch.sahits.game.openpatrician.clientserverinterface.model.task with parameters of type ISpouseData Constructor Description MarriageTask(IPlayer player, ICity city, ISpouseData spouseData)
-
Uses of ISpouseData in ch.sahits.game.openpatrician.clientserverinterface.service
Methods in ch.sahits.game.openpatrician.clientserverinterface.service with parameters of type ISpouseData Modifier and Type Method Description MarriageTask
ClientServerTaskFactory. getMarriageCelebrationEvent(java.time.LocalDateTime exectutionDate, IPlayer player, ICity city, ISpouseData spouseData)
-
Uses of ISpouseData in ch.sahits.game.openpatrician.display.dialog
Methods in ch.sahits.game.openpatrician.display.dialog with parameters of type ISpouseData Modifier and Type Method Description private java.lang.String
PersonalDialog. getPrefix(ISpouseData spouseData)
java.util.List<java.lang.String>
PersonalDialog. getSpouseReputation(IPlayer player, ISpouseData spouse)
-
Uses of ISpouseData in ch.sahits.game.openpatrician.display.event.task
Methods in ch.sahits.game.openpatrician.display.event.task that return ISpouseData Modifier and Type Method Description (package private) ISpouseData
MarriageOfferTimedTask. createSpouse(MarriageBrokerAnnouncementState state)
-
Uses of ISpouseData in ch.sahits.game.openpatrician.engine.event
Methods in ch.sahits.game.openpatrician.engine.event that return types with arguments of type ISpouseData Modifier and Type Method Description java.util.Optional<ISpouseData>
EventService. calculateSpouseDeath(IPlayer player, ICity city)
-
Uses of ISpouseData in ch.sahits.game.openpatrician.model
Methods in ch.sahits.game.openpatrician.model that return types with arguments of type ISpouseData Modifier and Type Method Description java.util.Optional<ISpouseData>
IPlayer. getSpouseData()
Retrieve the personal data of the players spouse.Methods in ch.sahits.game.openpatrician.model with parameters of type ISpouseData Modifier and Type Method Description void
IPlayer. marry(ISpouseData spouse)
Conclude the marriage. -
Uses of ISpouseData in ch.sahits.game.openpatrician.model.impl
Fields in ch.sahits.game.openpatrician.model.impl with type parameters of type ISpouseData Modifier and Type Field Description private java.util.Optional<ISpouseData>
Player. spouse
Methods in ch.sahits.game.openpatrician.model.impl that return types with arguments of type ISpouseData Modifier and Type Method Description java.util.Optional<ISpouseData>
Player. getSpouseData()
Methods in ch.sahits.game.openpatrician.model.impl with parameters of type ISpouseData Modifier and Type Method Description void
Player. marry(ISpouseData spouse)
Marry a spouse -
Uses of ISpouseData in ch.sahits.game.openpatrician.model.personal.impl
Classes in ch.sahits.game.openpatrician.model.personal.impl that implement ISpouseData Modifier and Type Class Description class
SpouseData
-