Class Map.Merger

java.lang.Object
VASSAL.build.module.Map.Merger
All Implemented Interfaces:
DeckVisitor, PieceVisitor
Enclosing class:
Map

public static class Map.Merger extends Object implements DeckVisitor
Implements default logic for merging pieces (into a Stack or Deck} at a given location within a map Returns a Command that merges the input GamePiece with an existing piece at the input position, provided the pieces are stackable, visible, in the same layer, etc.