Class AntiRandom

java.lang.Object
com.epicbot.api.shared.random.AntiRandom

public abstract class AntiRandom extends Object
  • Field Details

    • LOG

      protected final org.slf4j.Logger LOG
  • Constructor Details

  • Method Details

    • init

      @Inject public void init()
    • execute

      public abstract void execute()
    • shouldExecute

      public abstract boolean shouldExecute()
    • doOnRender

      protected void doOnRender(RenderEvent event)
    • getType

      public AntiRandomType getType()
    • getName

      public String getName()
    • setActive

      public final void setActive(boolean active)
      Called by the RandomHandler to set whether or not this random is currently active.
      Parameters:
      active -
    • isActive

      public final boolean isActive()
      Get whether or not this random is currently active. Random is activated by the RandomHandler.
      Returns:
      boolean
    • setEnabled

      public final AntiRandom setEnabled(boolean enabled)
    • isEnabled

      public final boolean isEnabled()