Class BlockadeStrategy


  • public class BlockadeStrategy
    extends java.lang.Object
    The blockade strategy decides which ship to select for sending it to the blockade.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2016 Created on Jun 23, 2016
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<ch.sahits.game.openpatrician.model.ship.IShip> selectShip​(ch.sahits.game.openpatrician.model.IAIPlayer player)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BlockadeStrategy

        public BlockadeStrategy()
    • Method Detail

      • selectShip

        public java.util.Optional<ch.sahits.game.openpatrician.model.ship.IShip> selectShip​(ch.sahits.game.openpatrician.model.IAIPlayer player)