public static enum TiledMap.Orientation extends Enum<TiledMap.Orientation>
Represents an orientation that a Tiled map can have.
Enum Constant and Description |
---|
HEXAGONAL |
ISOMETRIC |
ORTHOGONAL |
STAGGERED |
Modifier and Type | Method and Description |
---|---|
static TiledMap.Orientation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TiledMap.Orientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TiledMap.Orientation ORTHOGONAL
public static final TiledMap.Orientation ISOMETRIC
public static final TiledMap.Orientation STAGGERED
public static final TiledMap.Orientation HEXAGONAL
public static TiledMap.Orientation[] values()
for (TiledMap.Orientation c : TiledMap.Orientation.values()) System.out.println(c);
public static TiledMap.Orientation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020. All rights reserved.