Package megamek.client.commands
Class ClientCommand
java.lang.Object
megamek.client.commands.ClientCommand
- Direct Known Subclasses:
AddBotCommand,AssignNovaNetworkCommand,BotHelpCommand,ChatCommand,DeployCommand,DoneCommand,FireCommand,HelpCommand,LookCommand,MoveCommand,RulerCommand,ShowEntityCommand,ShowTileCommand,SituationReportCommand
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClientCommand(ClientGUI clientGUI, String name, String helpText) Creates new ServerCommand -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetDirection(int arg) static intgetDirection(String arg) getHelp()Returns some help text for this commandgetName()Return the string trigger for this commandabstract StringRun this command with the arguments supplied
-
Field Details
-
CLIENT_COMMAND
- See Also:
-
clientGUI
-
-
Constructor Details
-
ClientCommand
Creates new ServerCommand
-
-
Method Details
-
getClient
-
getClientGUI
-
getName
Return the string trigger for this command -
getHelp
Returns some help text for this command -
run
Run this command with the arguments supplied -
getDirection
-
getDirection
-