Package VASSAL.counters
Interface PieceFinder
- All Known Implementing Classes:
CounterDetailViewer.Visitor
,PieceFinder.DeckOrPieceInStack
,PieceFinder.MatOnly
,PieceFinder.Movable
,PieceFinder.PieceInStack
,PieceFinder.StackOnly
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
This interface defines selection criteria for finding a GamePiece in a Map
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
static class
Returns a Mat that overlaps this piecestatic class
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PieceFinder
If a Stack overlaps the given point, return the piece containing that point if expanded, or the top piece if not expanded.static final PieceFinder
static final PieceFinder
Returns a Stack if unexpanded and overlapping the given point, or a piece within that stack if expanded and overlapping the given pointstatic final PieceFinder
If a Stack overlaps the given point, return the piece containing that point if expanded, or the top piece if not expanded.static final PieceFinder
Return a Stack overlapping the given point -
Method Summary
-
Field Details
-
STACK_ONLY
Return a Stack overlapping the given point -
PIECE_IN_STACK
If a Stack overlaps the given point, return the piece containing that point if expanded, or the top piece if not expanded. -
DECK_OR_PIECE_IN_STACK
If a Stack overlaps the given point, return the piece containing that point if expanded, or the top piece if not expanded. If a Deck is found instead, return the deck. -
MOVABLE
Returns a Stack if unexpanded and overlapping the given point, or a piece within that stack if expanded and overlapping the given point -
MAT_ONLY
-
-
Method Details
-
select
-