Package VASSAL.counters
Class GlobalCommand.Visitor
java.lang.Object
VASSAL.counters.GlobalCommand.Visitor
- All Implemented Interfaces:
DeckVisitor,PieceVisitor
- Enclosing class:
- GlobalCommand
protected class GlobalCommand.Visitor extends Object implements DeckVisitor
-
Constructor Summary
Constructors Constructor Description Visitor(Command command, PieceFilter filter, KeyStroke stroke) -
Method Summary
Modifier and Type Method Description CommandgetCommand()BoundsTrackergetTracker()ObjectvisitDeck(Deck d)Perform the operation on a DeckObjectvisitDefault(GamePiece p)GamePieces that are not handled by one of the type-specific methods (e.g.ObjectvisitStack(Stack s)Perform the operation on a Stack
-
Constructor Details
-
Visitor
-
-
Method Details
-
visitDeck
Description copied from interface:DeckVisitorPerform the operation on a Deck- Specified by:
visitDeckin interfaceDeckVisitor
-
visitStack
Description copied from interface:PieceVisitorPerform the operation on a Stack- Specified by:
visitStackin interfacePieceVisitor
-
visitDefault
Description copied from interface:PieceVisitorGamePieces that are not handled by one of the type-specific methods (e.g.PieceVisitor.visitStack(VASSAL.counters.Stack)) are handled here- Specified by:
visitDefaultin interfacePieceVisitor
-
getCommand
-
getTracker
-