Enum Class TowerType

java.lang.Object
java.lang.Enum<TowerType>
com.prineside.tdi2.enums.TowerType
All Implemented Interfaces:
Serializable, Comparable<TowerType>, Constable

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

    • BASIC

      public static final TowerType BASIC
    • SNIPER

      public static final TowerType SNIPER
    • CANNON

      public static final TowerType CANNON
    • FREEZING

      public static final TowerType FREEZING
    • AIR

      public static final TowerType AIR
    • SPLASH

      public static final TowerType SPLASH
    • BLAST

      public static final TowerType BLAST
    • MULTISHOT

      public static final TowerType MULTISHOT
    • MINIGUN

      public static final TowerType MINIGUN
    • VENOM

      public static final TowerType VENOM
    • TESLA

      public static final TowerType TESLA
    • MISSILE

      public static final TowerType MISSILE
    • FLAMETHROWER

      public static final TowerType FLAMETHROWER
    • LASER

      public static final TowerType LASER
    • GAUSS

      public static final TowerType GAUSS
    • CRUSHER

      public static final TowerType CRUSHER
  • Field Details

    • values

      public static final TowerType[] values
  • Method Details

    • values

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