Class Ticker

java.lang.Object
dev.dhyces.compostbag.util.Ticker

public class Ticker extends Object
  • Constructor Details

    • Ticker

      public Ticker(int firstInteract, int rest)
      On the first interaction, it should be a longer delay before more items are input. The rest should be fairly short, but enough delay to see items disappear.
  • Method Details

    • tick

      public boolean tick()
      Returns whether this tick should interact
    • restart

      public void restart()
    • inProgress

      public boolean inProgress()