Class BoundsTracker

java.lang.Object
VASSAL.counters.BoundsTracker

public class BoundsTracker extends Object
Records the bounding boxes of GamePieces. Use addPiece() to record the bounding box of a GamePiece at a certain time. Use repaint() to repaint the appropriate areas of the maps to which the added pieces belonged.
  • Constructor Details

    • BoundsTracker

      public BoundsTracker()
  • Method Details

    • clear

      public void clear()
    • addPiece

      public void addPiece(GamePiece p)
    • repaint

      public void repaint()