Package model

Enum Class Sides

All Implemented Interfaces:
Serializable, Comparable<Sides>, Constable

public enum Sides extends Enum<Sides>
This class is used to store the sides of the DTK model.
  • Enum Constant Details

    • BLUE

      public static final Sides BLUE
      The left side of the Map.
    • RED

      public static final Sides RED
      The right side of the Map.
    • WAYPOINT

      public static final Sides WAYPOINT
      If we search the path to a waypoint.
  • Field Details

    • id

      public final int id
      The id of the side.
  • Method Details

    • values

      public static Sides[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Sides valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null