public class TilePropertyCollisionMerger extends java.lang.Object implements TiledCollisionMerger
TiledCollisionMerger
that merges tiles if they
have the same value for a certain property (or both have no value for the
property)Constructor and Description |
---|
TilePropertyCollisionMerger(java.lang.String propertyName) |
Modifier and Type | Method and Description |
---|---|
boolean |
isMergable(Tile tile1,
Tile tile2) |
public TilePropertyCollisionMerger(java.lang.String propertyName)
public boolean isMergable(Tile tile1, Tile tile2)
isMergable
in interface TiledCollisionMerger