Package zombie.iso

Enum IsoDirections

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

public enum IsoDirections
extends java.lang.Enum<IsoDirections>
  • Enum Constant Details

  • Method Details

    • values

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

      public static IsoDirections valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      java.lang.NullPointerException - if the argument is null
    • fromIndex

      public static IsoDirections fromIndex​(int int1)
    • RotLeft

      public static IsoDirections RotLeft​(IsoDirections directions)
    • RotRight

      public static IsoDirections RotRight​(IsoDirections directions)
    • generateTables

      public static void generateTables()
    • fromAngleActual

      public static IsoDirections fromAngleActual​(Vector2 vector2)
    • index

      public int index()
    • fromAngle

      public static IsoDirections fromAngle​(Vector2 vector2)
    • cardinalFromAngle

      public static IsoDirections cardinalFromAngle​(Vector2 vector2)
    • reverse

      public static IsoDirections reverse​(IsoDirections directions)
    • toCompassString

      public java.lang.String toCompassString()
    • ToVector

      public Vector2 ToVector()
    • toAngle

      public float toAngle()