Interface IAIShipUpgradeStrategy
-
public interface IAIShipUpgradeStrategyStrategy for upgrading the ship.- Author:
- Andi Hotz, (c) Sahits GmbH, 2017 Created on Nov 04, 2017
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanshouldUpgrade(IShip ship)Check if the ship should be upgraded.voidupgrade(IShip ship, ICity city)Upgrade the ship in city.
-
-
-
Method Detail
-
shouldUpgrade
boolean shouldUpgrade(IShip ship)
Check if the ship should be upgraded.- Parameters:
ship- that should be checked for upgrading- Returns:
- true if the ship should be upgraded
-
-