Class NavPoint

java.lang.Object
megamek.common.orders.NavPoint

public final class NavPoint extends Object
The names a route's waypoints go by on the radio and on the map: Nav Point Alpha, Beta, Gamma and on through the Greek alphabet, so they never read like a lance's name (Alpha, Bravo, Charlie Lance). "Charlie Lance, proceeding to Nav Point Gamma."
  • Field Details

    • UNNAMED

      public static final int UNNAMED
      A waypoint with no name: one from a save made before waypoints had them, or one added by a typed order.
      See Also:
  • Method Details

    • name

      public static String name(int navNumber)
      Parameters:
      navNumber - the waypoint's number in the order it was given, from 1
      Returns:
      its name, e.g. Gamma for 3; past Omega the names start again with a number, Alpha 2