public enum EScene extends Enum<EScene>
MainView| Enum Constant and Description |
|---|
CITY_HALL
Indicate that currently the city hall is displayed
|
LOANER
Indicate that currently the loaners office is displayed
|
MARKET
Indicate that currently the market scene is displayed
|
PORT
Indicate that currently the port scene is displayed
|
SHIPYARD
Indicate that currently the shipyard is displayed
|
TAVERN
Indicate that currently the tavern scene is displayed
|
| Modifier and Type | Method and Description |
|---|---|
static EScene |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EScene[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EScene PORT
public static final EScene MARKET
public static final EScene TAVERN
public static final EScene SHIPYARD
public static final EScene CITY_HALL
public static final EScene LOANER
public static EScene[] values()
for (EScene c : EScene.values()) System.out.println(c);
public static EScene 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 © 2011-2015 Sahits GmbH. All Rights Reserved.