Class PlayerController

java.lang.Object
me.arcademadness.omni_dungeon.controllers.AbstractController<PlayerEntity>
me.arcademadness.omni_dungeon.controllers.PlayerController
All Implemented Interfaces:
Controller

public class PlayerController extends AbstractController<PlayerEntity>
  • Constructor Details

    • PlayerController

      public PlayerController()
  • Method Details

    • toggleMenu

      public void toggleMenu()
    • isMenuOpen

      public boolean isMenuOpen()
    • getIntent

      public Optional<ControlIntent> getIntent()
      Description copied from interface: Controller
      Retrieves the current control intent, if one is available.

      The returned Optional may be empty if there is no intent to process at the current moment.

      Returns:
      an Optional containing the current ControlIntent, or empty if no intent is present