Enum Class ImprovementType

java.lang.Object
java.lang.Enum<ImprovementType>
com.takenoko.layers.tile.ImprovementType
All Implemented Interfaces:
Serializable, Comparable<ImprovementType>, Constable

public enum ImprovementType extends Enum<ImprovementType>
  • Enum Constant Details

    • FERTILIZER

      public static final ImprovementType 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

      public static final ImprovementType 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

      public static final ImprovementType 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

      public static final ImprovementType ANY
    • NONE

      public static final ImprovementType NONE
  • Constructor Details

    • ImprovementType

      private ImprovementType()
  • Method Details

    • values

      public static ImprovementType[] 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

      public static ImprovementType valueOf(String name)
      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 name
      NullPointerException - if the argument is null