Class GlobalDetach.DetachVisitor
java.lang.Object
VASSAL.counters.GlobalCommandVisitor
VASSAL.counters.GlobalDetach.DetachVisitor
- All Implemented Interfaces:
DeckVisitor, PieceVisitor
- Enclosing class:
GlobalDetach
-
Field Summary
Fields inherited from class GlobalCommandVisitor
auditSoFar, command, filter, selectedCountModifier and TypeFieldDescriptionprotected final AuditTrailprotected Commandprotected final PieceFilterprotected int -
Constructor Summary
ConstructorsConstructorDescriptionDetachVisitor(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
-
DetachVisitor
public DetachVisitor(Command command, PieceFilter filter, KeyStroke stroke, AuditTrail audit, Auditable owner, int selectFromDeck)
-
-
Method Details
-
apply
- Overrides:
applyin classGlobalCommandVisitor
-