Class MovementReporter
java.lang.Object
VASSAL.build.module.map.MovementReporter
- Direct Known Subclasses:
MovementReporter.HiddenMovementReporter
Builds an auto-report message for a collection of Move Commands
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A version of the MovementReporter for reporting the movement of Invisible pieces.static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected FormattedString
protected List
<MovementReporter.MoveSummary> protected List
<MovementReporter.MoveSummary> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected MovementReporter.MoveSummary
protected MovementReporter.MoveSummary
protected void
protected String
getLocation
(Map map, Point p) Mark all pieces with theMovementMarkable
traitprotected boolean
protected boolean
shouldReport
(AddPiece addPiece) protected boolean
shouldReport
(MovePiece movePiece)
-
Field Details
-
format
-
movesToReport
-
movesToMark
-
-
Constructor Details
-
MovementReporter
-
-
Method Details
-
extractMoveCommands
-
createMoveSummary
-
createMoveSummary
-
markMovedPieces
Mark all pieces with theMovementMarkable
trait- Returns:
- the equivalent Command
-
markMoved
-
shouldMarkMoved
-
shouldReport
-
shouldReport
-
getReportCommand
-
getLocation
-