VASSAL.build.module.map
Class DrawPile.SetContents

java.lang.Object
  |
  +--VASSAL.command.Command
        |
        +--VASSAL.build.module.map.DrawPile.SetContents
Enclosing class:
DrawPile

public static class DrawPile.SetContents
extends Command


Constructor Summary
DrawPile.SetContents(DrawPile deck, java.lang.String contentsId, boolean faceDown)
           
 
Method Summary
 void executeCommand()
          Perform the action which this Command represents
 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

DrawPile.SetContents

public DrawPile.SetContents(DrawPile deck,
                            java.lang.String contentsId,
                            boolean faceDown)
Method Detail

executeCommand

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

Specified by:
executeCommand in class Command

myUndoCommand

public 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

Specified by:
myUndoCommand in class Command