Package rekit.gui.controller.commands
Class PlayPauseCommand
java.lang.Object
rekit.gui.controller.commands.MenuCommand
rekit.gui.controller.commands.PlayPauseCommand
- All Implemented Interfaces:
Command
This class will be used while
ingame to toggle
pause.- Author:
- Matthias Schmitt
-
Field Summary
Fields inherited from class rekit.gui.controller.commands.MenuCommand
supervisor -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class rekit.gui.controller.commands.MenuCommand
execute
-
Constructor Details
-
PlayPauseCommand
Create the command.- Parameters:
supervisor- theCommandSupervisor
-
-
Method Details
-
execute
Description copied from class:MenuCommandExecute the command.- Overrides:
executein classMenuCommand- Parameters:
inputMethod- the key state
-