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 GamePieceMap. findAnyPiece(Point pt, PieceFinder finder)Use the providedPieceFinderinstance to locate any piece at the given location, regardless of whether it is visible or notGamePieceMap. findPiece(Point pt, PieceFinder finder)Use the providedPieceFinderinstance 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 classCounterDetailViewer.VisitorFields in VASSAL.build.module.map declared as PieceFinder Modifier and Type Field Description protected PieceFinderPieceMover. dragTargetSelectorprotected PieceFinderPieceMover. dropTargetSelectorprotected PieceFinderMenuDisplayer. targetSelectorMethods in VASSAL.build.module.map that return PieceFinder Modifier and Type Method Description protected PieceFinderPieceMover. createDragTargetSelector()Returns thePieceFinderinstance that will select aGamePiecefor processing when the user clicks on the map.protected PieceFinderPieceMover. 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 PieceFinderMapCenterer. createPieceFinder()When the user right-clicks on the Map, the view will center on the location of the click unless thisPieceFinderlocates a piece there.protected PieceFinderMenuDisplayer. createTargetSelector()Return aPieceFinderinstance that will select aGamePiecewhose 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 classPieceFinder.DeckOrPieceInStackstatic classPieceFinder.Movablestatic classPieceFinder.PieceInStackstatic classPieceFinder.StackOnlyFields in VASSAL.counters declared as PieceFinder Modifier and Type Field Description static PieceFinderPieceFinder. DECK_OR_PIECE_IN_STACKIf a Stack overlaps the given point, return the piece containing that point if expanded, or the top piece if not expanded.static PieceFinderPieceFinder. MOVABLEReturns a Stack if unexpanded and overlapping the given point, or a piece within that stack if expanded and overlapping the given pointstatic PieceFinderPieceFinder. PIECE_IN_STACKIf a Stack overlaps the given point, return the piece containing that point if expanded, or the top piece if not expanded.static PieceFinderPieceFinder. STACK_ONLYReturn a Stack overlapping the given point