Package com.takenoko.layers.tile
Enum Class ImprovementType
- All Implemented Interfaces:
Serializable
,Comparable<ImprovementType>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe enclosure 🛑 protects the bamboo of the plot where it is, the panda can cross it, stop there but in no case eat the bamboo that is there.The fertilizer 🌱 increases the growth of the bamboo in the plot where it is located.The watershed 🌊 provides the bamboo in its plot all the water it needs. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ImprovementType
Returns the enum constant of this class with the specified name.static ImprovementType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FERTILIZER
The fertilizer 🌱 increases the growth of the bamboo in the plot where it is located. Each time the bamboo grows, two sections are added instead of one (within the limit of maximum of 4 sections). -
ENCLOSURE
The enclosure 🛑 protects the bamboo of the plot where it is, the panda can cross it, stop there but in no case eat the bamboo that is there. -
WATERSHED
The watershed 🌊 provides the bamboo in its plot all the water it needs. Therefore this plot does not need to be irrigated and automatically benefits from the addition of first growth related to irrigation (see Irrigation). Warning: a watershed cannot under any circumstances be used as the beginning of a new irrigation system. -
ANY
-
NONE
-
-
Constructor Details
-
ImprovementType
private ImprovementType()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-