Uses of Class
ch.sahits.game.openpatrician.model.ship.EShipType
-
-
Uses of EShipType in ch.sahits.game.openpatrician.model.city
Methods in ch.sahits.game.openpatrician.model.city that return EShipType Modifier and Type Method Description EShipType[]IShipyard. getBuildableShipTypes()Retrieve a list of all the types of ships this yard can build.Methods in ch.sahits.game.openpatrician.model.city with parameters of type EShipType Modifier and Type Method Description intIShipyard. calculateBuildTime(EShipType type)Calculate the build time for the ship of type.intIShipyard. calculateConstructionCosts(EShipType type)Calculate the labor costs for building a new ship of the indicated type.intIShipyard. calculateRefitCosts(EShipType type, int levels)Calculate the labor costs for the refit based on the ship type and how many levels should be upgraded.intIShipyard. calculateRefitTime(EShipType type)Calculate the time in days it takes for refitting.intIShipyard. calculateRepairTime(EShipType type)Calculate the repair time for the ship of type.java.time.LocalDateTimeIShipyard. getBuildCompleteDate(EShipType type)Retrieve the date when the building of a new ship will be finished. -
Uses of EShipType in ch.sahits.game.openpatrician.model.city.impl
Methods in ch.sahits.game.openpatrician.model.city.impl that return EShipType Modifier and Type Method Description EShipType[]ShipyardState. getBuildableShipTypes()Methods in ch.sahits.game.openpatrician.model.city.impl with parameters of type EShipType Modifier and Type Method Description intShipyardState. calculateBuildTime(EShipType type)intShipyardState. calculateConstructionCosts(EShipType type)intShipyardState. calculateRefitCosts(EShipType type, int levels)intShipyardState. calculateRefitTime(EShipType type)intShipyardState. calculateRepairTime(EShipType type)java.time.LocalDateTimeShipyardState. getBuildCompleteDate(EShipType type) -
Uses of EShipType in ch.sahits.game.openpatrician.model.player
Methods in ch.sahits.game.openpatrician.model.player that return EShipType Modifier and Type Method Description EShipTypeIAIConstructionSelectionStrategy. shouldBuildShipType(IAIPlayer player)Select the ship type to be built.Methods in ch.sahits.game.openpatrician.model.player with parameters of type EShipType Modifier and Type Method Description voidIAIConstructionSelectionStrategy. initShipConstruction(IAIPlayer player, INavigableVessel vessel, EShipType shipType)Initialize the ship construction by collecting the wares.java.util.Optional<INavigableVessel>IAIConstructionSelectionStrategy. selectCollectingVessel(IAIPlayer player, EShipType shipType)Find a vessel that will do the collection. -
Uses of EShipType in ch.sahits.game.openpatrician.model.service
Methods in ch.sahits.game.openpatrician.model.service with parameters of type EShipType Modifier and Type Method Description java.lang.StringModelTranslations. getLocalDisplayName(EShipType type)java.lang.StringModelTranslations. getLocalDisplayNameWithArticle(EShipType type, boolean upperCaseArticle) -
Uses of EShipType in ch.sahits.game.openpatrician.model.ship
Methods in ch.sahits.game.openpatrician.model.ship that return EShipType Modifier and Type Method Description EShipTypeIShip. getShipType()Retrieve the type of the ship.static EShipTypeEShipType. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EShipType[]EShipType. values()Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of EShipType in ch.sahits.game.openpatrician.model.ship.impl
Methods in ch.sahits.game.openpatrician.model.ship.impl that return EShipType Modifier and Type Method Description EShipTypeCog. getShipType()EShipTypeCrayer. getShipType()EShipTypeHolk. getShipType()EShipTypeSnaikka. getShipType()Methods in ch.sahits.game.openpatrician.model.ship.impl with parameters of type EShipType Modifier and Type Method Description java.util.List<IWeaponSlot>ShipWeaponsLocationFactory. getShipWeaponsLocation(EShipType type, EShipUpgrade level)
-