megamek.server.commands
Class SkipCommand

java.lang.Object
  extended by megamek.server.commands.ServerCommand
      extended by megamek.server.commands.SkipCommand

public class SkipCommand
extends ServerCommand

Skips the current player's turn, if possible.

Version:
Author:
Ben

Field Summary
 
Fields inherited from class megamek.server.commands.ServerCommand
server
 
Constructor Summary
SkipCommand(Server server)
          Creates a new instance of SkipCommand
 
Method Summary
 void run(int connId, java.lang.String[] args)
          Run this command with the arguments supplied
 
Methods inherited from class megamek.server.commands.ServerCommand
canRunRestrictedCommand, getHelp, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SkipCommand

public SkipCommand(Server server)
Creates a new instance of SkipCommand

Method Detail

run

public void run(int connId,
                java.lang.String[] args)
Run this command with the arguments supplied

Specified by:
run in class ServerCommand