Enum Class LogicRule

java.lang.Object
java.lang.Enum<LogicRule>
mindustry.logic.LogicRule
All Implemented Interfaces:
Serializable, Comparable<LogicRule>, Constable

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

    • currentWaveTime

      public static final LogicRule currentWaveTime
    • waveTimer

      public static final LogicRule waveTimer
    • waves

      public static final LogicRule waves
    • wave

      public static final LogicRule wave
    • waveSpacing

      public static final LogicRule waveSpacing
    • waveSending

      public static final LogicRule waveSending
    • attackMode

      public static final LogicRule attackMode
    • enemyCoreBuildRadius

      public static final LogicRule enemyCoreBuildRadius
    • dropZoneRadius

      public static final LogicRule dropZoneRadius
    • unitCap

      public static final LogicRule unitCap
    • mapArea

      public static final LogicRule mapArea
    • lighting

      public static final LogicRule lighting
    • ambientLight

      public static final LogicRule ambientLight
    • solarMultiplier

      public static final LogicRule solarMultiplier
    • buildSpeed

      public static final LogicRule buildSpeed
    • unitHealth

      public static final LogicRule unitHealth
    • unitBuildSpeed

      public static final LogicRule unitBuildSpeed
    • unitCost

      public static final LogicRule unitCost
    • unitDamage

      public static final LogicRule unitDamage
    • blockHealth

      public static final LogicRule blockHealth
    • blockDamage

      public static final LogicRule blockDamage
    • rtsMinWeight

      public static final LogicRule rtsMinWeight
    • rtsMinSquad

      public static final LogicRule rtsMinSquad
  • Field Details

  • Method Details

    • values

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