public class StartCommand extends java.lang.Object implements GUICommand
GUICommand
which shows the start screen.Constructor and Description |
---|
StartCommand(@NotNull GuiStateManager guiStateManager)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canExecute()
Returns whether this command may be executed.
|
void |
execute()
Executes the command.
|
public StartCommand(@NotNull @NotNull GuiStateManager guiStateManager)
guiStateManager
- the gui state manager to affectpublic boolean canExecute()
GUICommand
canExecute
in interface GUICommand
public void execute()
GUICommand
GUICommand.canExecute()
returns false
.execute
in interface GUICommand