Package megamek.server.commands
Class EndGameCommand
java.lang.Object
megamek.server.commands.ServerCommand
megamek.server.commands.ClientServerCommand
megamek.server.commands.GamemasterServerCommand
megamek.server.commands.EndGameCommand
The Server Command "/end" that will finish a game immediately declaring forced victory for a player or their team.
-
Field Summary
FieldsFields inherited from class megamek.server.commands.ClientServerCommand
errorMsg, gameManager, logger
Fields inherited from class megamek.server.commands.ServerCommand
server
-
Constructor Summary
Constructors -
Method Summary
Methods 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
-
PLAYER_ID
- See Also:
-
FORCE
- See Also:
-
-
Constructor Details
-
EndGameCommand
-
-
Method Details
-
defineArguments
- Overrides:
defineArguments
in classClientServerCommand
-
runCommand
- Specified by:
runCommand
in classClientServerCommand
-