Interface PieceVisitor
- All Known Subinterfaces:
DeckVisitor
- All Known Implementing Classes:
CounterDetailViewer.Visitor
,GlobalAttach.AttachVisitor
,GlobalCommand.Visitor
,GlobalCommandVisitor
,GlobalDetach.DetachVisitor
,GlobalSetter.SetVisitor
,KeyBufferer.KBDeckVisitor
,LayeredPieceCollection.Collection
,Map.Merger
,PieceFinder.DeckOrPieceInStack
,PieceFinder.MatOnly
,PieceFinder.Movable
,PieceFinder.PieceInStack
,PieceFinder.StackOnly
,PieceRecenterer
public interface PieceVisitor
For implementing a somewhat modified Visitor pattern for
GamePiece
s.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGamePieces that are not handled by one of the type-specific methods (e.g.visitStack
(Stack s) Perform the operation on a Stack
-
Method Details
-
visitStack
-
visitDefault
GamePieces that are not handled by one of the type-specific methods (e.g.visitStack(VASSAL.counters.Stack)
) are handled here
-