Package rekit.gui.controller.commands
Class MenuCommand
java.lang.Object
rekit.gui.controller.commands.MenuCommand
- All Implemented Interfaces:
Command
- Direct Known Subclasses:
PlayPauseCommand
This class is used for the
MenuGameState
.- Author:
- Matthias Schmitt
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMenuCommand
(CommandSupervisor supervisor, MenuDirection dir) Instantiate the MenuCommand. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
Execute the command.void
execute
(InputMethod inputMethod) Execute the command.
-
Field Details
-
supervisor
The supervisor.
-
-
Constructor Details
-
MenuCommand
Instantiate the MenuCommand.- Parameters:
supervisor
- the supervisordir
- the direction
-
-
Method Details