Enum Class TileType

java.lang.Object
java.lang.Enum<TileType>
com.takenoko.layers.tile.TileType
All Implemented Interfaces:
Serializable, Comparable<TileType>, Constable

public enum TileType extends Enum<TileType>
Type of the Tile.
  • Enum Constant Details

    • POND

      public static final TileType POND
      Type of the tile is a pond.
    • OTHER

      public static final TileType OTHER
      Type of the tile is not a pond.
  • Constructor Details

    • TileType

      private TileType()
  • Method Details

    • values

      public static TileType[] 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 TileType 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