Class SaveGameCommand

java.lang.Object
megamek.server.commands.ServerCommand
megamek.server.commands.SaveGameCommand

public class SaveGameCommand extends ServerCommand
Saves the current game.
  • Constructor Details

    • SaveGameCommand

      public SaveGameCommand(Server server)
      Creates a new instance of SaveGameCommand
  • Method Details

    • run

      public void run(int connId, String[] args)
      Run this command with the arguments supplied
      Specified by:
      run in class ServerCommand