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, logger
Fields 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 void
runCommand
(int connId, Arguments args) Run this command with the arguments suppliedMethods inherited from class megamek.server.commands.GamemasterServerCommand
preRun
Methods inherited from class megamek.server.commands.ClientServerCommand
getGameManager, getHelp, getHelpHtml, getLongName, isGM, isOutsideOfBoard, parseArguments, run, safeParseArgumentsAndRun
Methods 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:
defineArguments
in classClientServerCommand
-
runCommand
Run this command with the arguments supplied- Specified by:
runCommand
in classClientServerCommand
-