Class RunProgressService.RunProgressSnapshot

java.lang.Object
dev.deepcore.challenge.session.RunProgressService.RunProgressSnapshot
Enclosing class:
RunProgressService

public static final class RunProgressService.RunProgressSnapshot extends Object
Immutable run-progress view model for action-bar/status rendering.
  • Method Details

    • objectiveText

      public String objectiveText()
      Returns the current objective text.
      Returns:
      objective label describing the next progress goal
    • reachedNether

      public boolean reachedNether()
      Returns whether Nether milestone has been reached.
      Returns:
      true when the Nether milestone is complete
    • reachedBlazeObjective

      public boolean reachedBlazeObjective()
      Returns whether blaze milestone has been reached.
      Returns:
      true when the blaze objective milestone is complete
    • reachedEnd

      public boolean reachedEnd()
      Returns whether End milestone has been reached.
      Returns:
      true when the End milestone is complete
    • dragonKilled

      public boolean dragonKilled()
      Returns whether dragon kill milestone has been reached.
      Returns:
      true when the dragon kill milestone is complete