ch.sahits.game.openpatrician.model.player.BaseStrategyType<ch.sahits.game.openpatrician.model.player.IAIShipRepairStrategy>, ch.sahits.game.openpatrician.model.player.IAIShipRepairStrategyTypepublic enum EAIRepairStrategyType extends java.lang.Enum<EAIRepairStrategyType> implements ch.sahits.game.openpatrician.model.player.IAIShipRepairStrategyType
| Enum Constant | Description |
|---|---|
EIGHTY_PERCENT |
|
ONLY_HOMEWOTN |
|
ONLY_KONTOR_TYPE |
|
ONLY_TRADINGOFFICE |
|
ONLY_WEST |
| Modifier and Type | Method | Description |
|---|---|---|
ch.sahits.game.openpatrician.model.player.IAIShipRepairStrategy |
getStrategy() |
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
|
static EAIRepairStrategyType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static EAIRepairStrategyType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EAIRepairStrategyType EIGHTY_PERCENT
public static final EAIRepairStrategyType ONLY_HOMEWOTN
public static final EAIRepairStrategyType ONLY_WEST
public static final EAIRepairStrategyType ONLY_TRADINGOFFICE
public static final EAIRepairStrategyType ONLY_KONTOR_TYPE
public static EAIRepairStrategyType[] values()
for (EAIRepairStrategyType c : EAIRepairStrategyType.values()) System.out.println(c);
public static EAIRepairStrategyType 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.IAIShipRepairStrategy getStrategy()
getStrategy in interface ch.sahits.game.openpatrician.model.player.BaseStrategyType<ch.sahits.game.openpatrician.model.player.IAIShipRepairStrategy>Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.