ch.sahits.game.openpatrician.model.player.BaseStrategyType<ch.sahits.game.openpatrician.model.player.IAIConstructionSelectionStrategy>, ch.sahits.game.openpatrician.model.player.IAIConstructionSelectionStrategyTypepublic enum EShipConstructionStrategyType extends java.lang.Enum<EShipConstructionStrategyType> implements ch.sahits.game.openpatrician.model.player.IAIConstructionSelectionStrategyType
| Enum Constant | Description |
|---|---|
HOMETOWN_BIGGEST |
|
HOMETOWN_RANDOM |
|
TRADING_OFFICE_BIGGEST |
|
TRADING_OFFICE_RANDOM |
|
WEST_BIGGEST |
|
WEST_RANDOM |
| Modifier and Type | Method | Description |
|---|---|---|
ch.sahits.game.openpatrician.model.player.IAIConstructionSelectionStrategy |
getStrategy() |
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
|
static EShipConstructionStrategyType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static EShipConstructionStrategyType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EShipConstructionStrategyType HOMETOWN_BIGGEST
public static final EShipConstructionStrategyType TRADING_OFFICE_BIGGEST
public static final EShipConstructionStrategyType WEST_BIGGEST
public static final EShipConstructionStrategyType HOMETOWN_RANDOM
public static final EShipConstructionStrategyType TRADING_OFFICE_RANDOM
public static final EShipConstructionStrategyType WEST_RANDOM
public static EShipConstructionStrategyType[] values()
for (EShipConstructionStrategyType c : EShipConstructionStrategyType.values()) System.out.println(c);
public static EShipConstructionStrategyType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
org.springframework.beans.BeansExceptionpublic ch.sahits.game.openpatrician.model.player.IAIConstructionSelectionStrategy getStrategy()
getStrategy in interface ch.sahits.game.openpatrician.model.player.BaseStrategyType<ch.sahits.game.openpatrician.model.player.IAIConstructionSelectionStrategy>Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.