Class HireCaptainNeverStrategy

  • All Implemented Interfaces:
    ch.sahits.game.openpatrician.model.player.IAICaptainHireStrategy

    public class HireCaptainNeverStrategy
    extends BaseHireCaptainStrategy
    Strategy to never hire a captain.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2016 Created on Jul 31, 2016
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean shouldHire​(ch.sahits.game.openpatrician.model.IAIPlayer player, ch.sahits.game.openpatrician.model.ship.IShip vessel, ch.sahits.game.openpatrician.model.city.ICity city)  
      • Methods inherited from class java.lang.Object

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

      • HireCaptainNeverStrategy

        public HireCaptainNeverStrategy()
    • Method Detail

      • shouldHire

        public boolean shouldHire​(ch.sahits.game.openpatrician.model.IAIPlayer player,
                                  ch.sahits.game.openpatrician.model.ship.IShip vessel,
                                  ch.sahits.game.openpatrician.model.city.ICity city)