public enum TileMergeMode extends java.lang.Enum<TileMergeMode>
| Enum Constant and Description | 
|---|
AREA
Finds max mergable tiles by expanding a rectangular area 
 | 
COLUMNS_ROWS
Finds max number of mergable tiles on X axis then expands across Y axis 
 | 
ROWS_COLUMNS
Finds max number of mergable tiles on Y axis then expands across X axis 
 | 
| Modifier and Type | Method and Description | 
|---|---|
abstract <T extends Positionable> | 
merge(TiledCollisionFactory<T> collisionFactory,
     TiledCollisionMerger collisionMerger,
     int startX,
     int startY,
     int maxColumns,
     int maxRows,
     byte[][] collisions,
     TileLayer layer,
     TiledMap tiledMap)  | 
static TileMergeMode | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static TileMergeMode[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final TileMergeMode ROWS_COLUMNS
public static final TileMergeMode COLUMNS_ROWS
public static final TileMergeMode AREA
public static TileMergeMode[] values()
for (TileMergeMode c : TileMergeMode.values()) System.out.println(c);
public static TileMergeMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic abstract <T extends Positionable> T merge(TiledCollisionFactory<T> collisionFactory, TiledCollisionMerger collisionMerger, int startX, int startY, int maxColumns, int maxRows, byte[][] collisions, TileLayer layer, TiledMap tiledMap)