public static enum TiledMap.StaggerAxis extends Enum<TiledMap.StaggerAxis>
Represents an axis that can be staggered in a Tiled map with a staggered or hexagonal orientation.
Modifier and Type | Method and Description |
---|---|
static TiledMap.StaggerAxis |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TiledMap.StaggerAxis[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TiledMap.StaggerAxis X
public static final TiledMap.StaggerAxis Y
public static TiledMap.StaggerAxis[] values()
for (TiledMap.StaggerAxis c : TiledMap.StaggerAxis.values()) System.out.println(c);
public static TiledMap.StaggerAxis 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.