Class GlobalAttach.AttachVisitor
java.lang.Object
VASSAL.counters.GlobalCommandVisitor
VASSAL.counters.GlobalAttach.AttachVisitor
- All Implemented Interfaces:
DeckVisitor, PieceVisitor
- Enclosing class:
GlobalAttach
-
Field Summary
Fields inherited from class GlobalCommandVisitor
auditSoFar, command, filter, selectedCountModifier and TypeFieldDescriptionprotected final AuditTrailprotected Commandprotected final PieceFilterprotected int -
Constructor Summary
ConstructorsConstructorDescriptionAttachVisitor(Command command, PieceFilter filter, KeyStroke stroke, AuditTrail audit, Auditable owner, int selectFromDeck) -
Method Summary
Methods inherited from class GlobalCommandVisitor
apply, getCommand, getSelectedCount, getSelectFromDeck, getTracker, setOwner, setSelectedCount, setSelectFromDeck, visitDeck, visitDefault, visitStackModifier and TypeMethodDescriptionprotected voidintintvoidvoidsetSelectedCount(int selectedCount) voidsetSelectFromDeck(int val) 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
-
AttachVisitor
public AttachVisitor(Command command, PieceFilter filter, KeyStroke stroke, AuditTrail audit, Auditable owner, int selectFromDeck)
-
-
Method Details
-
apply
- Overrides:
applyin classGlobalCommandVisitor
-