java.lang.Object
java.lang.Enum<Plot.Time>
plugily.projects.buildbattle.arena.managers.plots.Plot.Time
All Implemented Interfaces:
Serializable, Comparable<Plot.Time>, java.lang.constant.Constable
Enclosing class:
Plot

public static enum Plot.Time
extends Enum<Plot.Time>
Enum that represents current plot time
  • Enum Constant Details

    • WORLD_TIME

      public static final Plot.Time WORLD_TIME
    • DAY

      public static final Plot.Time DAY
    • NOON

      public static final Plot.Time NOON
    • SUNSET

      public static final Plot.Time SUNSET
    • SUNRISE

      public static final Plot.Time SUNRISE
    • NIGHT

      public static final Plot.Time NIGHT
    • MIDNIGHT

      public static final Plot.Time MIDNIGHT
  • Method Details

    • values

      public static Plot.Time[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Plot.Time 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 name
      NullPointerException - if the argument is null
    • format

      public static long format​(Plot.Time time, long currTime)
    • getTicks

      public long getTicks()