Enum Class Location

java.lang.Object
java.lang.Enum<Location>
org.highlife.api.methods.world.Location
All Implemented Interfaces:
Serializable, Comparable<Location>, Constable

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

    • USA

      public static final Location USA
    • USA_EAST

      public static final Location USA_EAST
    • USA_WEST

      public static final Location USA_WEST
    • UK

      public static final Location UK
    • AUSTRALIA

      public static final Location AUSTRALIA
    • GERMANY

      public static final Location GERMANY
    • BRAZIL

      public static final Location BRAZIL
    • JAPAN

      public static final Location JAPAN
    • SINGAPORE

      public static final Location SINGAPORE
    • SOUTH_AFRICA

      public static final Location SOUTH_AFRICA
  • Method Details

    • values

      public static Location[] 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 Location 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
    • getLocation

      public int getLocation()
    • getHost

      public String getHost()
    • matches

      public boolean matches(int location, String host)
    • getForTexture

      public static Location getForTexture(int id)