Class BiggestShipConstructionSelectionStrategy

    • Constructor Detail

      • BiggestShipConstructionSelectionStrategy

        public BiggestShipConstructionSelectionStrategy​(int minCash,
                                                        int maxFeetSize,
                                                        int maxTotalCargoCapacity)
    • Method Detail

      • shouldBuildShipType

        public EShipType shouldBuildShipType​(IAIPlayer player)
        Description copied from interface: IAIConstructionSelectionStrategy
        Select the ship type to be built.
        Parameters:
        player - who whishes to build a ship
        Returns:
        ship type that should be ordered
      • biggestShipType

        private EShipType biggestShipType​(java.util.List<EShipType> shipTypes)