public final class SheetsExtractor extends Object
Modifier and Type | Method and Description |
---|---|
static Collection<SpriteTiled> |
extract(Collection<ImageBuffer> tiles,
int horizontalTiles)
Convert a set of tile to a set of tile sheets.
|
public static Collection<SpriteTiled> extract(Collection<ImageBuffer> tiles, int horizontalTiles)
tiles
- The list of tiles.horizontalTiles
- The number of horizontal tiles on sheet (inferior or equal to 0 to use automatic).Copyright © 2017 Byron 3D Games Studio. All rights reserved.