Exemple #1
0
        public static ThrustMove NavigateShipToDock(GameMap gameMap, Ship ship, Entity dockTarget, int maxThrust)
        {
            Position targetPos = ship.GetClosestPoint(dockTarget);

            return(NavigateShipTowardsTarget(gameMap, ship, targetPos, maxThrust));
        }