VASSAL.counters
Class PieceCloner

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

public class PieceCloner
extends java.lang.Object

Utility class for cloning GamePieces


Constructor Summary
PieceCloner()
           
 
Method Summary
 GamePiece clonePiece(GamePiece piece)
          Create a new instance that is a clone of the given piece
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PieceCloner

public PieceCloner()
Method Detail

clonePiece

public GamePiece clonePiece(GamePiece piece)
Create a new instance that is a clone of the given piece
Returns:
the new instance