java.lang.Objectcom.realtime.crossfire.jxclient.gui.commands.StartCommand
public class StartCommand
A GUICommand which shows the start screen.
| Field Summary | |
|---|---|
private GuiStateManager |
guiStateManager
The GuiStateManager to affect. |
| Constructor Summary | |
|---|---|
StartCommand(GuiStateManager guiStateManager)
Creates a new instance. |
|
| Method Summary | |
|---|---|
boolean |
canExecute()
Returns whether this command may be executed. |
void |
execute()
Executes the command. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@NotNull private final GuiStateManager guiStateManager
GuiStateManager to affect.
| Constructor Detail |
|---|
public StartCommand(@NotNull
GuiStateManager guiStateManager)
guiStateManager - the gui state manager to affect| Method Detail |
|---|
public boolean canExecute()
canExecute in interface GUICommandpublic void execute()
GUICommand.canExecute()
returns false.
execute in interface GUICommand