public static ThrustMove NavigateShipToDock(GameMap gameMap, Ship ship, Entity dockTarget, int maxThrust) { Position targetPos = ship.GetClosestPoint(dockTarget); return(NavigateShipTowardsTarget(gameMap, ship, targetPos, maxThrust)); }
public static ThrustMove NavigateShipToDock(GameMap gameMap, Ship ship, Entity dockTarget, int maxThrust) { Position targetPos = ship.GetClosestPoint(dockTarget); return(NavigateShipTowardsTarget(gameMap, ship, targetPos, maxThrust)); }