Uses of Interface
ch.sahits.game.openpatrician.model.ship.IShip
-
-
Uses of IShip in ch.sahits.game.openpatrician.model
Methods in ch.sahits.game.openpatrician.model that return types with arguments of type IShip Modifier and Type Method Description java.util.List<IShip>IPlayer. getFleet()Get a list of all shipsMethods in ch.sahits.game.openpatrician.model with parameters of type IShip Modifier and Type Method Description voidIPlayer. addShip(IShip ship)Add a new ship for the playerIShipAuctionModelFactory. createAnonymousShipAuction(java.time.LocalDateTime auctionDate, int startingBid, IShip ship)Retrieve an auction instance for aship, that has no previous owner, e.g.IShipAuctionModelFactory. createShipAuction(java.time.LocalDateTime auctionDate, int startingBid, IPlayer owner, IShip ship)Retrieve an auction instance for theshipowned byowner, which will be auctioned onauctionDatestarting withstartingBidvoidIPlayer. removeShip(IShip ship)Remove a ship for the player -
Uses of IShip in ch.sahits.game.openpatrician.model.city
Methods in ch.sahits.game.openpatrician.model.city that return IShip Modifier and Type Method Description IShipIShipDueDate. getShip()Retrieve the ship that is due.Methods in ch.sahits.game.openpatrician.model.city with parameters of type IShip Modifier and Type Method Description intIShipyard. calculateRepairMaterialCosts(IShip ship, int damage)Calculate the material costs for the repair.voidIShipyard. cancelRepair(IShip ship)Cancel the repair of the ship.voidIShipyard. removeCompletedConstruction(IShip ship)Remove the build entry once it is completed.voidIShipyard. removeCompletedRepair(IShip ship)Remove the repair entry once it is completed.voidIShipyard. removeCompletedUpgrade(IShip ship)Remove the upgrade entry once it is completed. -
Uses of IShip in ch.sahits.game.openpatrician.model.city.cityhall
Methods in ch.sahits.game.openpatrician.model.city.cityhall that return IShip Modifier and Type Method Description IShipIOutriggerContract. getOutrigger()Get the outrigger ship. -
Uses of IShip in ch.sahits.game.openpatrician.model.city.guild
Methods in ch.sahits.game.openpatrician.model.city.guild that return IShip Modifier and Type Method Description IShipIShipAuction. getAuctionedShip()Retrieve the ship that is auctioned. -
Uses of IShip in ch.sahits.game.openpatrician.model.city.guild.impl
Constructors in ch.sahits.game.openpatrician.model.city.guild.impl with parameters of type IShip Constructor Description ShipAuction(java.time.LocalDateTime auctionDate, int startingBid, IPlayer owner, IShip auctionedShip)Create a ship auction together with it's owner.ShipAuction(java.time.LocalDateTime auctionDate, int startingBid, IShip auctionedShip)Create a ship auction where the ship did not have a previous owner. -
Uses of IShip in ch.sahits.game.openpatrician.model.city.impl
Methods in ch.sahits.game.openpatrician.model.city.impl that return IShip Modifier and Type Method Description IShipIShipBuildTask. getShipToBeBuilt()Retrieve the ship that is to be built.Methods in ch.sahits.game.openpatrician.model.city.impl with parameters of type IShip Modifier and Type Method Description intShipyardState. calculateRepairMaterialCosts(IShip ship, int damage)voidShipyardState. cancelRepair(IShip ship)voidShipyardState. removeCompletedConstruction(IShip ship)voidShipyardState. removeCompletedRepair(IShip ship)voidShipyardState. removeCompletedUpgrade(IShip ship) -
Uses of IShip in ch.sahits.game.openpatrician.model.impl
Methods in ch.sahits.game.openpatrician.model.impl that return types with arguments of type IShip Modifier and Type Method Description java.util.List<IShip>Player. getFleet()Methods in ch.sahits.game.openpatrician.model.impl with parameters of type IShip Modifier and Type Method Description voidPlayer. addShip(IShip ship)voidPlayer. removeShip(IShip ship) -
Uses of IShip in ch.sahits.game.openpatrician.model.people
Methods in ch.sahits.game.openpatrician.model.people that return types with arguments of type IShip Modifier and Type Method Description java.util.Optional<IShip>ICaptain. getAssignedShip()Get the ship the captain is assigned to.Methods in ch.sahits.game.openpatrician.model.people with parameters of type IShip Modifier and Type Method Description voidICaptain. assignToShip(IShip ship)Assign a captain to a ship. -
Uses of IShip in ch.sahits.game.openpatrician.model.people.impl
Methods in ch.sahits.game.openpatrician.model.people.impl that return types with arguments of type IShip Modifier and Type Method Description java.util.Optional<IShip>CaptainState. getAssignedShip()Get the ship the captain is assigned to.Methods in ch.sahits.game.openpatrician.model.people.impl with parameters of type IShip Modifier and Type Method Description voidCaptainState. assignToShip(IShip ship) -
Uses of IShip in ch.sahits.game.openpatrician.model.player
Methods in ch.sahits.game.openpatrician.model.player with parameters of type IShip Modifier and Type Method Description voidIAIBuyWeaponStrategy. buyWeapons(BuyWeapons target, IShip ship, IAIPlayer player, ICity city)Buy the weapons.voidIAIBuyWeaponStrategy. buyWeaponsOrdered(BuyWeapons target, IShip ship, IAIPlayer player, ICity city)Buy the weapons.intIAIHireSailorStrategy. calculateRequiredSailorAmount(IShip ship, IAIPlayer player)Calculate the number of required sailors on the ship.intIAIBuyWeaponStrategy. getNumberOfEmptyLargeWeaponSlots(IShip ship)Count the empty large weapon slots, where a large weapon can be placed.intIAIBuyWeaponStrategy. getNumberOfEmptyWeaponSlots(IShip ship)Count the empty large weapon slots, where a large weapon can be placed.voidIAICaptainHireStrategy. hire(IAIPlayer player, IShip vessel, ICaptain captain, ICity city)playerhirescaptainon thevessel.java.util.Optional<BuyWeapons>IAIBuyWeaponStrategy. shouldBuyWeapons(IShip ship, IAIPlayer player, ICity city)Determine if weapons should be bougth and if so to meet which target.booleanIAICaptainHireStrategy. shouldHire(IAIPlayer player, IShip vessel, ICity city)Shouldplayerhirecaptainon thevessel.booleanIAIShipUpgradeStrategy. shouldUpgrade(IShip ship)Check if the ship should be upgraded.voidIAIShipUpgradeStrategy. upgrade(IShip ship, ICity city)Upgrade the ship in city. -
Uses of IShip in ch.sahits.game.openpatrician.model.sea
Methods in ch.sahits.game.openpatrician.model.sea that return types with arguments of type IShip Modifier and Type Method Description java.util.List<IShip>IBlockade. getShips()Retrieve all ships for the blockade.java.util.List<IShip>IBlockade. getShips(IPlayer player)Retrieve the ships of a certain player.java.util.List<IShip>IBlockade. getShipsToAuction()List containing ships that were captured during the blockade mission, that will be auctioned at the end.Method parameters in ch.sahits.game.openpatrician.model.sea with type arguments of type IShip Modifier and Type Method Description voidIBlockade. addShips(IPlayer player, java.util.List<IShip> shipList)Add a number of ships for a player to the blockade. -
Uses of IShip in ch.sahits.game.openpatrician.model.sea.impl
Methods in ch.sahits.game.openpatrician.model.sea.impl that return types with arguments of type IShip Modifier and Type Method Description java.util.List<IShip>Blockade. getShips()java.util.List<IShip>Blockade. getShips(IPlayer player)Method parameters in ch.sahits.game.openpatrician.model.sea.impl with type arguments of type IShip Modifier and Type Method Description voidBlockade. addShips(IPlayer player, java.util.List<IShip> shipList) -
Uses of IShip in ch.sahits.game.openpatrician.model.ship
Subinterfaces of IShip in ch.sahits.game.openpatrician.model.ship Modifier and Type Interface Description interfaceICogInterface defining a coginterfaceICrayerThis interface marks a ship as a crayer.interfaceIHolkInterface defining a holk.interfaceISnaikkaThis interface defines a snaikka.Methods in ch.sahits.game.openpatrician.model.ship that return IShip Modifier and Type Method Description IShipIConvoy. getOrlegShip()Retrieve the lead ship of the convoy.Methods in ch.sahits.game.openpatrician.model.ship that return types with arguments of type IShip Modifier and Type Method Description java.util.List<IShip>IConvoy. getShips()Retrieve a list of the ships in the convoy.java.util.List<IShip>IConvoy. getShips(IPlayer player)Get all the ships in the convoi that belong to a player.java.util.List<IShip>IGroupableVessel. getShips()Retrieve all ships in the vessel.java.util.List<IShip>IShipGroup. getShips()Retrieve a list of the ships in the convoy.javafx.beans.property.ObjectProperty<IShip>IShip. parentShipProperty()Property holding the parent ship in case of a grouping (convoy or group).Methods in ch.sahits.game.openpatrician.model.ship with parameters of type IShip Modifier and Type Method Description voidIConvoy. addShip(IShip ship)Add a ship to the convoy.voidIShipGroup. addShip(IShip ship)Add a ship to the convoy.IConvoyConvoyList. findConvoyOfOrleg(IShip orleg)Find the convoy of anorlegship.voidIConvoy. removeShip(IShip ship)Remove a ship from the convoy.voidIShipGroup. removeShip(IShip ship)Remove a ship from the convoy. -
Uses of IShip in ch.sahits.game.openpatrician.model.ship.impl
Classes in ch.sahits.game.openpatrician.model.ship.impl that implement IShip Modifier and Type Class Description classCogclassCrayerThis model represents a crayer.classHolkclassShipclassSnaikkaMethods in ch.sahits.game.openpatrician.model.ship.impl that return IShip Modifier and Type Method Description IShipConvoy. getOrlegShip()Methods in ch.sahits.game.openpatrician.model.ship.impl that return types with arguments of type IShip Modifier and Type Method Description java.util.List<IShip>Convoy. getShips()java.util.List<IShip>Convoy. getShips(IPlayer player)java.util.List<IShip>ShipGroup. getShips()javafx.beans.property.ObjectProperty<IShip>Ship. parentShipProperty()Methods in ch.sahits.game.openpatrician.model.ship.impl with parameters of type IShip Modifier and Type Method Description voidConvoy. addShip(IShip ship)voidShipGroup. addShip(IShip ship)voidConvoy. removeShip(IShip ship)voidShipGroup. removeShip(IShip ship)Constructors in ch.sahits.game.openpatrician.model.ship.impl with parameters of type IShip Constructor Description Convoy(IShip orlegShip, boolean publicConvoy)ShipGroup(IShip leadShip)
-