Class HireCaptainAlwaysStrategy
- java.lang.Object
-
- ch.sahits.game.openpatrician.engine.player.strategy.BaseHireCaptainStrategy
-
- ch.sahits.game.openpatrician.engine.player.strategy.HireCaptainAlwaysStrategy
-
- All Implemented Interfaces:
ch.sahits.game.openpatrician.model.player.IAICaptainHireStrategy
public class HireCaptainAlwaysStrategy extends BaseHireCaptainStrategy
Strategy for hiring a captain which always hires the captain if possible.- Author:
- Andi Hotz, (c) Sahits GmbH, 2016 Created on Jul 31, 2016
-
-
Field Summary
-
Fields inherited from class ch.sahits.game.openpatrician.engine.player.strategy.BaseHireCaptainStrategy
captainsState
-
-
Constructor Summary
Constructors Constructor Description HireCaptainAlwaysStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanshouldHire(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 ch.sahits.game.openpatrician.engine.player.strategy.BaseHireCaptainStrategy
getCaptain, hire
-
-