VASSAL.build.module.map
Class DrawPile.PlaceDeck

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

public static class DrawPile.PlaceDeck
extends Command

Only necessary for backward compatibility


Constructor Summary
DrawPile.PlaceDeck(DrawPile drawPile, 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.PlaceDeck

public DrawPile.PlaceDeck(DrawPile drawPile,
                          java.lang.String contentsId,
                          boolean faceDown)
Method Detail

executeCommand

public void executeCommand()
Description copied from class: Command
Perform the action which this Command represents
Overrides:
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
Overrides:
myUndoCommand in class Command