VASSAL.counters
Class BoundsTracker

java.lang.Object
  |
  +--VASSAL.counters.BoundsTracker

public class BoundsTracker
extends java.lang.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 Summary
BoundsTracker()
           
 
Method Summary
 void addPiece(GamePiece p)
           
 void clear()
           
 void repaint()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoundsTracker

public BoundsTracker()
Method Detail

clear

public void clear()

addPiece

public void addPiece(GamePiece p)

repaint

public void repaint()