Class DefaultPieceCollection

java.lang.Object
VASSAL.build.module.map.CompoundPieceCollection
VASSAL.build.module.map.DefaultPieceCollection
All Implemented Interfaces:
PieceCollection

public class DefaultPieceCollection extends CompoundPieceCollection
Maps now start with a Game Piece Layers component (i.e. LayeredPieceCollection) by default, and so will use that more complex implementation of visual layers. However, the LayeredPieceCollection can be deleted, in which case this simpler implementation is used. This fallback implementation of PieceCollection separates pieces into two visual layers: stacking pieces always drawn above non-stacking pieces