Enum EViewChangeEvent
- java.lang.Object
-
- java.lang.Enum<EViewChangeEvent>
-
- ch.sahits.game.openpatrician.event.EViewChangeEvent
-
- All Implemented Interfaces:
IViewChangeEvent
,java.io.Serializable
,java.lang.Comparable<EViewChangeEvent>
public enum EViewChangeEvent extends java.lang.Enum<EViewChangeEvent> implements IViewChangeEvent
Definition of the notices used byViewChangeEvent
.- Author:
- Andi Hotz, (c) Sahits GmbH, 2011 Created on Sep 9, 2011
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISPLAY_NEW_SP
Enable the new single player startup screenMAIN_VIEW_ARMORY
ArmoryMAIN_VIEW_CHURCH
ChurchMAIN_VIEW_CITY_HALL
Main view city hallMAIN_VIEW_GUILD
Guild interiorMAIN_VIEW_LOANER
Main view of the Loaners officeMAIN_VIEW_MARKET
Main view displays the market sceneMAIN_VIEW_PORT
Main view displays the port sceneMAIN_VIEW_SEA_MAP
Big sea map.MAIN_VIEW_SHIPYARD
Man view displays ship yardMAIN_VIEW_TAVERN
Main view displays tavern sceneNOTICE_CITY_HALL_ALDERMAN
Hanseatic informationNOTICE_CITY_HALL_BOARD
Notice board in the city hallNOTICE_CITY_HALL_MEETINGROOM
Meeting roomNOTICE_CITY_HALL_TREASURY
Treasury in the city hallNOTICE_HIDE
Hide noticeNOTICE_LOANER
Notice board for the loaner officeNOTICE_MARKET_BOOTH
Notice board for market booth optionsNOTICE_SHIP_WARE_INFO
Notice board ship ware info panel.NOTICE_SHIPYARD
Notice board for the shipyard actionsNOTICE_TAVERN
Notice board for the tavernNOTICE_TRADE
Show the notice dialog for tradeingNOTICE_TRADING_OFFICE
Notice board for the trading officeOFFICIAL_MESSAGES
Official messages.PERSONAL_MESSAGES
Personal messages.START_GAME
Transition from the new game first in game screenSUB_MENU_OFFICIAL_MESSAGE
Open Official Message submenu.SUB_MENU_PERSONAL_MESSAGE
Open Personal Message submenu.SUB_MENU_SHIP
Open ship submenu.SUB_MENU_TRADE_MESSAGE
Open Trade Message submenu.TRADE_MESSAGES
Trade messages.
-
Constructor Summary
Constructors Modifier Constructor Description private
EViewChangeEvent()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EViewChangeEvent
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EViewChangeEvent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISPLAY_NEW_SP
public static final EViewChangeEvent DISPLAY_NEW_SP
Enable the new single player startup screen
-
START_GAME
public static final EViewChangeEvent START_GAME
Transition from the new game first in game screen
-
NOTICE_TRADE
public static final EViewChangeEvent NOTICE_TRADE
Show the notice dialog for tradeing
-
NOTICE_HIDE
public static final EViewChangeEvent NOTICE_HIDE
Hide notice
-
MAIN_VIEW_MARKET
public static final EViewChangeEvent MAIN_VIEW_MARKET
Main view displays the market scene
-
MAIN_VIEW_PORT
public static final EViewChangeEvent MAIN_VIEW_PORT
Main view displays the port scene
-
NOTICE_MARKET_BOOTH
public static final EViewChangeEvent NOTICE_MARKET_BOOTH
Notice board for market booth options
-
NOTICE_TRADING_OFFICE
public static final EViewChangeEvent NOTICE_TRADING_OFFICE
Notice board for the trading office
-
SUB_MENU_SHIP
public static final EViewChangeEvent SUB_MENU_SHIP
Open ship submenu.
-
SUB_MENU_TRADE_MESSAGE
public static final EViewChangeEvent SUB_MENU_TRADE_MESSAGE
Open Trade Message submenu.
-
SUB_MENU_PERSONAL_MESSAGE
public static final EViewChangeEvent SUB_MENU_PERSONAL_MESSAGE
Open Personal Message submenu.
-
SUB_MENU_OFFICIAL_MESSAGE
public static final EViewChangeEvent SUB_MENU_OFFICIAL_MESSAGE
Open Official Message submenu.
-
MAIN_VIEW_TAVERN
public static final EViewChangeEvent MAIN_VIEW_TAVERN
Main view displays tavern scene
-
NOTICE_TAVERN
public static final EViewChangeEvent NOTICE_TAVERN
Notice board for the tavern
-
MAIN_VIEW_SHIPYARD
public static final EViewChangeEvent MAIN_VIEW_SHIPYARD
Man view displays ship yard
-
NOTICE_SHIPYARD
public static final EViewChangeEvent NOTICE_SHIPYARD
Notice board for the shipyard actions
-
MAIN_VIEW_LOANER
public static final EViewChangeEvent MAIN_VIEW_LOANER
Main view of the Loaners office
-
NOTICE_LOANER
public static final EViewChangeEvent NOTICE_LOANER
Notice board for the loaner office
-
MAIN_VIEW_CITY_HALL
public static final EViewChangeEvent MAIN_VIEW_CITY_HALL
Main view city hall
-
OFFICIAL_MESSAGES
public static final EViewChangeEvent OFFICIAL_MESSAGES
Official messages.
-
TRADE_MESSAGES
public static final EViewChangeEvent TRADE_MESSAGES
Trade messages.
-
PERSONAL_MESSAGES
public static final EViewChangeEvent PERSONAL_MESSAGES
Personal messages.
-
NOTICE_CITY_HALL_BOARD
public static final EViewChangeEvent NOTICE_CITY_HALL_BOARD
Notice board in the city hall
-
NOTICE_CITY_HALL_TREASURY
public static final EViewChangeEvent NOTICE_CITY_HALL_TREASURY
Treasury in the city hall
-
NOTICE_CITY_HALL_ALDERMAN
public static final EViewChangeEvent NOTICE_CITY_HALL_ALDERMAN
Hanseatic information
-
NOTICE_CITY_HALL_MEETINGROOM
public static final EViewChangeEvent NOTICE_CITY_HALL_MEETINGROOM
Meeting room
-
MAIN_VIEW_CHURCH
public static final EViewChangeEvent MAIN_VIEW_CHURCH
Church
-
MAIN_VIEW_GUILD
public static final EViewChangeEvent MAIN_VIEW_GUILD
Guild interior
-
MAIN_VIEW_SEA_MAP
public static final EViewChangeEvent MAIN_VIEW_SEA_MAP
Big sea map.
-
MAIN_VIEW_ARMORY
public static final EViewChangeEvent MAIN_VIEW_ARMORY
Armory
-
NOTICE_SHIP_WARE_INFO
public static final EViewChangeEvent NOTICE_SHIP_WARE_INFO
Notice board ship ware info panel.
-
-
Method Detail
-
values
public static EViewChangeEvent[] 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 (EViewChangeEvent c : EViewChangeEvent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EViewChangeEvent 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
-
-