public enum Line extends Enum<Line>
Enum Constant and Description |
---|
CENTER
The center line.
|
LEFT
The line along the left hand edge (dependant on which direction your playing)
|
OTHER
The line behind the other goal.
|
OWN
The line behind your goal.
|
RIGHT
The line along the right hand edge (dependant on which direction your playing)
|
Modifier and Type | Method and Description |
---|---|
static Line |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Line[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Line CENTER
public static final Line OWN
public static final Line OTHER
public static final Line LEFT
public static final Line RIGHT
public static Line[] values()
for (Line c : Line.values()) System.out.println(c);
public static Line 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–2015 Atan. All rights reserved.