Class BaseRepairStrategy

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void repair​(ch.sahits.game.openpatrician.model.ship.INavigableVessel 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
      • Methods inherited from interface ch.sahits.game.openpatrician.model.player.IAIShipRepairStrategy

        shouldRepair
    • Constructor Detail

      • BaseRepairStrategy

        public BaseRepairStrategy()
    • Method Detail

      • repair

        public void repair​(ch.sahits.game.openpatrician.model.ship.INavigableVessel vessel,
                           ch.sahits.game.openpatrician.model.city.ICity city)
        Specified by:
        repair in interface ch.sahits.game.openpatrician.model.player.IAIShipRepairStrategy