@Deprecated public enum MoveDirection extends Enum<MoveDirection>
Travaux pratiques d'IA54.
Université de Technologie de Belfort-monbéliard.
| Enum Constant and Description |
|---|
DOWN
Deprecated.
|
LEFT
Deprecated.
|
NONE
Deprecated.
|
RIGHT
Deprecated.
|
UP
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static MoveDirection |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static MoveDirection[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MoveDirection NONE
public static final MoveDirection UP
public static final MoveDirection DOWN
public static final MoveDirection LEFT
public static final MoveDirection RIGHT
public static MoveDirection[] values()
for (MoveDirection c : MoveDirection.values()) System.out.println(c);
public static MoveDirection 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 © 2003-2013 Arakhnê.org Members. All rights reserved under LGPL license terms.