Class PlayerAction.ActionResult

java.lang.Object
group24.escaperoom.entities.player.PlayerAction.ActionResult
Enclosing interface:
PlayerAction

public static class PlayerAction.ActionResult extends Object
  • Field Details

  • Constructor Details

    • ActionResult

      public ActionResult()
  • Method Details

    • showsDialog

      public PlayerAction.ActionResult showsDialog(G24Dialog contentToDisplay)
    • completesInteraction

      public boolean completesInteraction()
    • setCompletesInteraction

      public PlayerAction.ActionResult setCompletesInteraction(boolean shouldCompleteInteraction)
      Indicates that if this action is taken, the window should close
    • getDialog

      public Optional<G24Dialog> getDialog()
      Get the supplementary dialog from this action, if there is one