public enum FlickDirection extends Enum<FlickDirection>
| Modifier and Type | Method and Description |
|---|---|
static FlickDirection |
fromString(String directionString) |
String |
getDirection() |
int |
getxMultiplier() |
int |
getyMultiplier() |
static FlickDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlickDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlickDirection UP
public static final FlickDirection DOWN
public static final FlickDirection LEFT
public static final FlickDirection RIGHT
public static FlickDirection[] values()
for (FlickDirection c : FlickDirection.values()) System.out.println(c);
public static FlickDirection 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 nullpublic static FlickDirection fromString(String directionString)
public String getDirection()
public int getxMultiplier()
public int getyMultiplier()
Copyright © 2015. All rights reserved.