Enum EScene
- java.lang.Object
-
- java.lang.Enum<EScene>
-
- ch.sahits.game.openpatrician.display.gameplay.impl.EScene
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARMORY
Indicate that currently the armory is displayed.CHURCH
Indicate that currently the church is displayedCITY_HALL
Indicate that currently the city hall is displayedGUILD
Indicate that currtently the guild is displayedLOANER
Indicate that currently the loaners office is displayedMARKET
Indicate that currently the market scene is displayedPORT
Indicate that currently the port scene is displayedSEAMAP
Indicate that currently the sea map is displayedSHIPYARD
Indicate that currently the shipyard is displayedTAVERN
Indicate that currently the tavern scene is displayed
-
Constructor Summary
Constructors Modifier Constructor Description private
EScene()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EScene
valueOf(java.lang.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.
-
-
-
Enum Constant Detail
-
PORT
public static final EScene PORT
Indicate that currently the port scene is displayed
-
MARKET
public static final EScene MARKET
Indicate that currently the market scene is displayed
-
TAVERN
public static final EScene TAVERN
Indicate that currently the tavern scene is displayed
-
SHIPYARD
public static final EScene SHIPYARD
Indicate that currently the shipyard is displayed
-
CITY_HALL
public static final EScene CITY_HALL
Indicate that currently the city hall is displayed
-
LOANER
public static final EScene LOANER
Indicate that currently the loaners office is displayed
-
SEAMAP
public static final EScene SEAMAP
Indicate that currently the sea map is displayed
-
CHURCH
public static final EScene CHURCH
Indicate that currently the church is displayed
-
GUILD
public static final EScene GUILD
Indicate that currtently the guild is displayed
-
ARMORY
public static final EScene ARMORY
Indicate that currently the armory is displayed.
-
-
Method Detail
-
values
public static EScene[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EScene c : EScene.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EScene valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-