Uses of Interface
VASSAL.counters.PieceFinder
Package | Description |
---|---|
VASSAL.build.module |
Contains classes that may be added to a
GameModule . |
VASSAL.build.module.map |
Contains classes that may be added to a
Map . |
VASSAL.counters |
Provides classes that define game pieces.
|
-
Uses of PieceFinder in VASSAL.build.module
Methods in VASSAL.build.module with parameters of type PieceFinder Modifier and Type Method Description GamePiece
Map. findAnyPiece(Point pt, PieceFinder finder)
Use the providedPieceFinder
instance to locate any piece at the given location, regardless of whether it is visible or notGamePiece
Map. findPiece(Point pt, PieceFinder finder)
Use the providedPieceFinder
instance to locate a visible piece at the given location -
Uses of PieceFinder in VASSAL.build.module.map
Classes in VASSAL.build.module.map that implement PieceFinder Modifier and Type Class Description protected static class
CounterDetailViewer.Visitor
Fields in VASSAL.build.module.map declared as PieceFinder Modifier and Type Field Description protected PieceFinder
PieceMover. dragTargetSelector
protected PieceFinder
PieceMover. dropTargetSelector
protected PieceFinder
MenuDisplayer. targetSelector
Methods in VASSAL.build.module.map that return PieceFinder Modifier and Type Method Description protected PieceFinder
PieceMover. createDragTargetSelector()
Returns thePieceFinder
instance that will select aGamePiece
for processing when the user clicks on the map.protected PieceFinder
PieceMover. createDropTargetSelector()
When the user completes a drag-drop operation, the pieces being dragged will either be combined with an existing piece on the map or else placed on the map without stack.protected PieceFinder
MapCenterer. createPieceFinder()
When the user right-clicks on the Map, the view will center on the location of the click unless thisPieceFinder
locates a piece there.protected PieceFinder
MenuDisplayer. createTargetSelector()
Return aPieceFinder
instance that will select aGamePiece
whose menu will be displayed when the user clicks on the map -
Uses of PieceFinder in VASSAL.counters
Classes in VASSAL.counters that implement PieceFinder Modifier and Type Class Description static class
PieceFinder.DeckOrPieceInStack
static class
PieceFinder.Movable
static class
PieceFinder.PieceInStack
static class
PieceFinder.StackOnly
Fields in VASSAL.counters declared as PieceFinder Modifier and Type Field Description static PieceFinder
PieceFinder. 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.static PieceFinder
PieceFinder. MOVABLE
Returns a Stack if unexpanded and overlapping the given point, or a piece within that stack if expanded and overlapping the given pointstatic PieceFinder
PieceFinder. 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.static PieceFinder
PieceFinder. STACK_ONLY
Return a Stack overlapping the given point