Uses of Class
VASSAL.counters.PieceVisitorDispatcher
Package
Description
Contains classes that may be added to a
GameModule
.Contains classes that may be added to a
Map
.Provides classes that implement the "Command" design pattern.
Provides classes that define game pieces.
-
Uses of PieceVisitorDispatcher in VASSAL.build.module
Modifier and TypeMethodDescriptionMap.apply
(PieceVisitorDispatcher commandFactory) Attempts to apply the providedPieceVisitorDispatcher
to all pieces on this map, until it finds one that returns a non-null Command. -
Uses of PieceVisitorDispatcher in VASSAL.build.module.map
Modifier and TypeMethodDescriptionprotected PieceVisitorDispatcher
KeyBufferer.createDragSelector
(boolean selecting, boolean altDown, Rectangle mapsel) This PieceVisitorDispatcher determines what to do with pieces on the map when the player finished dragging a rectangle to select pieces.protected PieceVisitorDispatcher
PieceMover.createSelectionProcessor()
When the user *starts* a potential drag-and-drop operation by clicking on the map, a piece from the map is selected by the dragTargetSelector. -
Uses of PieceVisitorDispatcher in VASSAL.command
Modifier and TypeMethodDescriptionprotected PieceVisitorDispatcher
MovePiece.createMergeFinder
(Map map, GamePiece p, Point pt) Creates a newPieceVisitorDispatcher
that will create aCommand
object to merge the target piece with any applicable pieces at the target location -
Uses of PieceVisitorDispatcher in VASSAL.counters