VASSAL.build.module
Class PlayerRoster.Add

java.lang.Object
  |
  +--VASSAL.command.Command
        |
        +--VASSAL.build.module.PlayerRoster.Add
Enclosing class:
PlayerRoster

public static class PlayerRoster.Add
extends Command


Constructor Summary
PlayerRoster.Add(PlayerRoster r, java.lang.String playerId, java.lang.String playerName, java.lang.String side)
           
 
Method Summary
protected  void executeCommand()
          Perform the action which this Command represents
protected  Command myUndoCommand()
          If the action can be undone, return a Command that performs the inverse action.
 
Methods inherited from class VASSAL.command.Command
append, execute, getSubCommands, getUndoCommand, hasNullSubcommands, isLoggable, isNull, stripSubCommands, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PlayerRoster.Add

public PlayerRoster.Add(PlayerRoster r,
                        java.lang.String playerId,
                        java.lang.String playerName,
                        java.lang.String side)
Method Detail

executeCommand

protected void executeCommand()
Description copied from class: Command
Perform the action which this Command represents
Overrides:
executeCommand in class Command

myUndoCommand

protected Command myUndoCommand()
Description copied from class: Command
If the action can be undone, return a Command that performs the inverse action. The Command returned should only undo Command.executeCommand(), not the actions of subcommands
Overrides:
myUndoCommand in class Command