Package de.extio.spacecraft.shared.bo
Enum LootScatterer.ScatteringMode
- java.lang.Object
-
- java.lang.Enum<LootScatterer.ScatteringMode>
-
- de.extio.spacecraft.shared.bo.LootScatterer.ScatteringMode
-
- All Implemented Interfaces:
Serializable
,Comparable<LootScatterer.ScatteringMode>
- Enclosing interface:
- LootScatterer
public static enum LootScatterer.ScatteringMode extends Enum<LootScatterer.ScatteringMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIRECT
Drop when looted directly with a collector moduleDROP
Regular random dropDROP_INITIAL
Regular random drop, directly after composite has been destroyed
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LootScatterer.ScatteringMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static LootScatterer.ScatteringMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DROP
public static final LootScatterer.ScatteringMode DROP
Regular random drop
-
DROP_INITIAL
public static final LootScatterer.ScatteringMode DROP_INITIAL
Regular random drop, directly after composite has been destroyed
-
DIRECT
public static final LootScatterer.ScatteringMode DIRECT
Drop when looted directly with a collector module
-
-
Method Detail
-
values
public static LootScatterer.ScatteringMode[] 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 (LootScatterer.ScatteringMode c : LootScatterer.ScatteringMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LootScatterer.ScatteringMode valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-