Package zombie.iso

Enum Class IsoDirections

java.lang.Object
java.lang.Enum<IsoDirections>
zombie.iso.IsoDirections
All Implemented Interfaces:
Serializable, Comparable<IsoDirections>, Constable

public enum IsoDirections extends Enum<IsoDirections>
  • Enum Constant Details

  • Method Details

    • values

      public static IsoDirections[] 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 IsoDirections 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
    • fromIndex

      public static IsoDirections fromIndex(int index)
    • RotLeft

      public IsoDirections RotLeft(int time)
    • RotRight

      public IsoDirections RotRight(int time)
    • RotLeft

      public IsoDirections RotLeft()
    • RotRight

      public IsoDirections RotRight()
    • RotLeft

      public static IsoDirections RotLeft(IsoDirections dir)
    • RotRight

      public static IsoDirections RotRight(IsoDirections dir)
    • generateTables

      public static void generateTables()
    • fromAngleActual

      public static IsoDirections fromAngleActual(Vector2 angle)
    • fromAngle

      public static IsoDirections fromAngle(float angleRadians)
    • fromAngle

      public static IsoDirections fromAngle(Vector2 angle)
    • fromAngle

      public static IsoDirections fromAngle(float angleX, float angleY)
    • cardinalFromAngle

      public static IsoDirections cardinalFromAngle(Vector2 angle)
    • reverse

      public static IsoDirections reverse(IsoDirections dir)
    • index

      public int index()
    • toCompassString

      public String toCompassString()
    • ToVector

      public Vector2 ToVector()
    • toAngle

      public float toAngle()
    • getRandom

      public static IsoDirections getRandom()