Uses of Class
VASSAL.build.module.Map
Package
Description
Contains classes that may be added to a
GameModule
.Contains classes that may be added to a
Map
.Contains classes that may be added to a
BoardPicker
.Contains classes that may be added to a
Board
.Contains classes that may be added to a
MapGrid
.Contains classes that can be added to a
Widget
.Provides classes that implement the "Command" design pattern.
Provides classes for building "Edit Property" dialogs, and for editing
GameModule
's and ModuleExtension
's.Provides classes that define game pieces.
Contains various utility classes.
-
Uses of Map in VASSAL.build.module
Modifier and TypeClassDescriptionclass
class
A Map that may be configured to be visible only a particular side.Modifier and TypeFieldDescriptionstatic Map
Map.activeMap
protected Map
Map.View.map
protected Map
PrivateMap.surrogate
Modifier and TypeMethodDescriptionMap.View.getMap()
returns the map we're assigned tostatic Map
Map.getMapById
(String id) Find the map that corresponds to a known unique idModifier and TypeMethodDescriptionMap.getMapList()
Utility method to return aList
of all map components (on all maps!)Modifier and TypeMethodDescriptionstatic void
Map.setActiveMap
(Map m) Marks an ActiveMap for certain drag and drop operations, so that the map can be repainted when the operation is complete. -
Uses of Map in VASSAL.build.module.index
Modifier and TypeMethodDescriptionReturn a list of pieces at a specific point on a specific mapReturn a list of pieces within a given range of a specified pointReturn a list of pieces on a Map with a specified value for the specified propertyvoid
IndexManager.pieceMoved
(GamePiece piece, Map map) A piece has just moved or been placed on the board, update any location based indexes and create any property based indexes if we have not seen this piece beforevoid
IndexManager.pieceRemoved
(GamePiece piece, Map map) A piece has been removed from a MapModifierConstructorDescriptionVassalMapPieceIndex
(Map map) VassalMapQuadTree
(Map map) Create a QuadTree to cover the entire map -
Uses of Map in VASSAL.build.module.map
Modifier and TypeFieldDescriptionprotected Map
BoardPicker.map
protected Map
CounterDetailViewer.map
protected Map
GlobalMap.map
protected Map
HidePiecesButton.map
protected Map
ImageSaver.map
protected Map
KeyBufferer.map
protected Map
LayeredPieceCollection.map
protected Map
LOS_Thread.map
protected Map
MapShader.map
protected Map
MassKeyCommand.map
protected Map
MenuDisplayer.map
protected Map
MoveCameraButton.map
protected Map
PieceMover.map
protected Map
PieceRecenterer.map
protected Map
SelectionHighlighters.map
protected Map
SetupStack.map
protected Map
StackExpander.map
protected Map
StackMetrics.map
protected Map
TextSaver.map
protected Map
Zoomer.map
Modifier and TypeFieldDescriptionprotected static final Map
<Map, HighlightLastMoved> HighlightLastMoved.instances
Modifier and TypeMethodDescriptionCounterDetailViewer.getMap()
DrawPile.getMap()
Flare.getMap()
LayerControl.getMap()
LayeredPieceCollection.getMap()
protected Map
MapShader.getMap()
SetupStack.getMap()
Modifier and TypeMethodDescriptionvoid
void
void
Draw the Flare at current animation framevoid
void
HandMetrics.draw
(Stack stack, Point location, Graphics g, Map map, double zoom, Rectangle visibleRect) void
void
void
Draws our current selection boxvoid
void
void
StackMetrics.draw
(Stack stack, Point location, Graphics g, Map map, double zoom, Rectangle visibleRect) Draw only those pieces in the target stack whose boundingBoxes fall within the given visibleRect This method is considerably faster than the other draw method.protected String
MovementReporter.getLocation
(Map map, Point p) protected String
MovementReporter.HiddenMovementReporter.getLocation
(Map map, Point p) protected Area
MapShader.getShadeShape
(Map map) Get/Build the shape of the shade.PieceMover.movePieces
(Map map, Point p) This is the key method for handling the "Drop" part of Drag and Drop.Returns a Command that moves all pieces so that their centroid is centered on the map.ModifierConstructorDescriptionImageSaver
(Map m) Visitor
(CounterDetailViewer.Filter filter, Map map, Point pt, boolean showOverlap) Deprecated, for removal: This API element is subject to removal in a future version.Visitor
(CounterDetailViewer.Filter filter, Map map, Point pt, boolean showOverlap, int showNumberFromDeck, boolean showDeckMasked) Visitor
(CounterDetailViewer.Filter filter, Map map, Point pt, boolean showOverlap, int showNumberFromDeck, boolean showDeckMasked, boolean showOnlyTopOfStack) -
Uses of Map in VASSAL.build.module.map.boardPicker
-
Uses of Map in VASSAL.build.module.map.boardPicker.board
-
Uses of Map in VASSAL.build.module.map.boardPicker.board.mapgrid
-
Uses of Map in VASSAL.build.widget
-
Uses of Map 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 Map in VASSAL.configure
-
Uses of Map in VASSAL.counters
Modifier and TypeFieldDescriptionprotected Map
PieceFinder.Movable.map
SendToLocation.Destination.map
protected Map
Stack.map
protected Map
FreeRotator.startMap
Modifier and TypeMethodDescriptionDragBuffer.getFromMap()
BasicPiece.getMap()
Decorator.getMap()
GamePiece.getMap()
Stack.getMap()
Modifier and TypeMethodDescriptionvoid
GlobalCommand.apply
(Map[] maps, PieceFilter filter) (Legacy - applies GKC without Fast Match)GlobalCommand.apply
(Map[] maps, PieceFilter filter, GlobalCommandTarget fastMatch) Apply the key command to all pieces that pass the given filter and our Fast MatchGlobalCommandTarget
parameters on all the given mapsGlobalCommand.apply
(Map[] maps, PieceFilter filter, GlobalCommandTarget fastMatch, AuditTrail audit) Apply the key command to all pieces that pass the given filter and our Fast MatchGlobalCommandTarget
parameters on all the given mapsGlobalCommand.apply
(Map map, PieceFilter filter) (Legacy - applies GKC without Fast Match)GlobalCommand.apply
(Map map, PieceFilter filter, GlobalCommandTarget fastMatch) Apply the key command on ONE SPECIFIC MAP to all pieces that pass the given filter and our Fast Match parameters.GlobalCommand.apply
(Map map, PieceFilter filter, GlobalCommandTarget fastMatch, AuditTrail audit) void
MatCargo.findNewMat
(Map map, Point pt) Finds us a Mat to join at the specified point on a specified map.static SendToLocation.Destination
SendToLocation.getSendLocation
(PropertySource source, Auditable auditSource, String destination, FormattedString mapId, FormattedString boardName, FormattedString zone, FormattedString region, FormattedString gridLocation, FormattedString x, FormattedString y, PropertyExpression propertyFilter, Map sourceMap, Point startPosition) Compute a destination from the parametersStack.getStackMetrics
(Map m) StackMetrics
encapsulate information on how to draw expanded/unexpanded views of stacks.MatCargo.locateNewMat
(Map map, Point pt) Non Command generating part of findNewMat().void
Return the argument GamePiece (or one of its children if a Stack) found at the given point on the given Mapvoid
void
void
Sets the Map this Deck appears onvoid
void
void
ModifierConstructorDescriptionMapMouseListener
(Map map) RangeFilter
(Map map, Point location, int range) -
Uses of Map in VASSAL.script
Modifier and TypeMethodDescriptionprotected boolean
AbstractInterpreter.isAccessible
(Map m) Is a map accessible to us? -
Uses of Map in VASSAL.script.proxy
-
Uses of Map in VASSAL.tools
-
Uses of Map in VASSAL.tools.imports