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