Uses of Class
VASSAL.counters.PieceVisitorDispatcher
Packages that use 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
Methods in VASSAL.build.module with parameters of type PieceVisitorDispatcherModifier and TypeMethodDescriptionMap.apply(PieceVisitorDispatcher commandFactory) Attempts to apply the providedPieceVisitorDispatcherto all pieces on this map, until it finds one that returns a non-null Command. -
Uses of PieceVisitorDispatcher in VASSAL.build.module.map
Fields in VASSAL.build.module.map declared as PieceVisitorDispatcherMethods in VASSAL.build.module.map that return PieceVisitorDispatcherModifier and TypeMethodDescriptionprotected PieceVisitorDispatcherKeyBufferer.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 PieceVisitorDispatcherPieceMover.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
Methods in VASSAL.command that return PieceVisitorDispatcherModifier and TypeMethodDescriptionprotected PieceVisitorDispatcherMovePiece.createMergeFinder(Map map, GamePiece p, Point pt) Creates a newPieceVisitorDispatcherthat will create aCommandobject to merge the target piece with any applicable pieces at the target location -
Uses of PieceVisitorDispatcher in VASSAL.counters
Subclasses of PieceVisitorDispatcher in VASSAL.counters