Class PlayerController
java.lang.Object
me.arcademadness.omni_dungeon.controllers.AbstractController<PlayerEntity>
me.arcademadness.omni_dungeon.controllers.PlayerController
- All Implemented Interfaces:
Controller
-
Field Summary
Fields inherited from class me.arcademadness.omni_dungeon.controllers.AbstractController
entity -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the current control intent, if one is available.booleanvoid
-
Constructor Details
-
PlayerController
public PlayerController()
-
-
Method Details
-
toggleMenu
public void toggleMenu() -
isMenuOpen
public boolean isMenuOpen() -
getIntent
Description copied from interface:ControllerRetrieves the current control intent, if one is available.The returned
Optionalmay be empty if there is no intent to process at the current moment.- Returns:
- an
Optionalcontaining the currentControlIntent, or empty if no intent is present
-