Package VASSAL.counters
Class PieceFinder.Movable
java.lang.Object
VASSAL.counters.PieceFinder.Movable
- All Implemented Interfaces:
DeckVisitor,PieceFinder,PieceVisitor
- Direct Known Subclasses:
CounterDetailViewer.Visitor,PieceFinder.PieceInStack,PieceFinder.StackOnly
- 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
FieldsModifier and TypeFieldDescriptionprotected DeckVisitorDispatcherprotected Mapprotected Pointprotected Shape[]Fields inherited from interface VASSAL.counters.PieceFinder
DECK_OR_PIECE_IN_STACK, MOVABLE, PIECE_IN_STACK, STACK_ONLY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the argument GamePiece (or one of its children if a Stack) found at the given point on the given MapPerform the operation on a DeckvisitDefault(GamePiece piece)GamePieces that are not handled by one of the type-specific methods (e.g.visitStack(Stack s)Perform the operation on a Stack
-
Field Details
-
shapes
-
map
-
pt
-
dispatcher
-
-
Constructor Details
-
Movable
public Movable() -
Movable
-
-
Method Details
-
visitDeck
Description copied from interface:DeckVisitorPerform the operation on a Deck- Specified by:
visitDeckin interfaceDeckVisitor
-
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
-
visitStack
Description copied from interface:PieceVisitorPerform the operation on a Stack- Specified by:
visitStackin interfacePieceVisitor
-
select
Description copied from interface:PieceFinderReturn the argument GamePiece (or one of its children if a Stack) found at the given point on the given Map- Specified by:
selectin interfacePieceFinder
-