Package VASSAL.counters
Class GlobalCommand.Visitor
java.lang.Object
VASSAL.counters.GlobalCommand.Visitor
- All Implemented Interfaces:
DeckVisitor,PieceVisitor
- Enclosing class:
- GlobalCommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidsetSelectedCount(int selectedCount)Perform the operation on a DeckGamePieces that are not handled by one of the type-specific methods (e.g.visitStack(Stack s)Perform the operation on a Stack
-
Constructor Details
-
Visitor
-
-
Method Details
-
setSelectedCount
public void setSelectedCount(int selectedCount) -
getSelectedCount
public int getSelectedCount() -
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
-