Package VASSAL.counters
Class PieceFinder.StackOnly
java.lang.Object
VASSAL.counters.PieceFinder.Movable
VASSAL.counters.PieceFinder.StackOnly
- All Implemented Interfaces:
DeckVisitor,PieceFinder,PieceVisitor
- Enclosing interface:
- PieceFinder
-
Nested Class Summary
Nested classes/interfaces inherited from interface VASSAL.counters.PieceFinder
PieceFinder.DeckOrPieceInStack, PieceFinder.Movable, PieceFinder.PieceInStack, PieceFinder.StackOnly -
Field Summary
Fields inherited from class VASSAL.counters.PieceFinder.Movable
dispatcher, map, pt, shapesFields inherited from interface VASSAL.counters.PieceFinder
DECK_OR_PIECE_IN_STACK, MOVABLE, PIECE_IN_STACK, STACK_ONLY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvisitDefault(GamePiece piece)GamePieces that are not handled by one of the type-specific methods (e.g.visitStack(Stack s)Perform the operation on a StackMethods inherited from class VASSAL.counters.PieceFinder.Movable
select, visitDeck
-
Constructor Details
-
StackOnly
public StackOnly()
-
-
Method Details
-
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- Overrides:
visitDefaultin classPieceFinder.Movable
-
visitStack
Description copied from interface:PieceVisitorPerform the operation on a Stack- Specified by:
visitStackin interfacePieceVisitor- Overrides:
visitStackin classPieceFinder.Movable
-