Package megamek.server.commands
Class RescueCommand
java.lang.Object
megamek.server.commands.ServerCommand
megamek.server.commands.ClientServerCommand
megamek.server.commands.GamemasterServerCommand
megamek.server.commands.RescueCommand
-
Field Summary
FieldsFields inherited from class megamek.server.commands.ClientServerCommand
errorMsg, gameManager, loggerFields inherited from class megamek.server.commands.ServerCommand
server -
Constructor Summary
ConstructorsConstructorDescriptionRescueCommand(Server server, TWGameManager gameManager) Creates new Rescue Command, it "flees" a unit no matter where they are -
Method Summary
Modifier and TypeMethodDescriptionprotected voidrunCommand(int connId, Arguments args) Run this command with the arguments suppliedMethods inherited from class megamek.server.commands.GamemasterServerCommand
preRunMethods inherited from class megamek.server.commands.ClientServerCommand
getGameManager, getHelp, getHelpHtml, getLongName, isGM, isOutsideOfBoard, parseArguments, run, safeParseArgumentsAndRunMethods inherited from class megamek.server.commands.ServerCommand
canRunRestrictedCommand, getName
-
Field Details
-
UNIT_ID
- See Also:
-
-
Constructor Details
-
RescueCommand
Creates new Rescue Command, it "flees" a unit no matter where they are
-
-
Method Details
-
defineArguments
- Overrides:
defineArgumentsin classClientServerCommand
-
runCommand
Run this command with the arguments supplied- Specified by:
runCommandin classClientServerCommand
-