public final class LevelRipConverter extends Object
TilesExtractor.IGNORED_COLOR_VALUE
) is ignored (can be used to skip tile, in order to
improve performance).Modifier and Type | Class and Description |
---|---|
static interface |
LevelRipConverter.Canceler
Cancel controller.
|
static interface |
LevelRipConverter.ProgressListener
Listen to import progress.
|
Modifier and Type | Method and Description |
---|---|
static int |
start(Media levelrip,
MapTile map)
Run the converter.
|
static int |
start(Media levelrip,
MapTile map,
LevelRipConverter.ProgressListener listener)
Run the converter.
|
static int |
start(Media levelrip,
MapTile map,
LevelRipConverter.ProgressListener listener,
LevelRipConverter.Canceler canceler)
Run the converter.
|
public static int start(Media levelrip, MapTile map)
levelrip
- The file containing the levelrip as an image.map
- The destination map reference.LionEngineException
- If media is null
or image cannot be read.public static int start(Media levelrip, MapTile map, LevelRipConverter.ProgressListener listener)
levelrip
- The file containing the levelrip as an image.map
- The destination map reference.listener
- The progress listener.LionEngineException
- If media is null
or image cannot be read.public static int start(Media levelrip, MapTile map, LevelRipConverter.ProgressListener listener, LevelRipConverter.Canceler canceler)
levelrip
- The file containing the levelrip as an image.map
- The destination map reference.listener
- The progress listener.canceler
- The canceler reference.LionEngineException
- If media is null
or image cannot be read.Copyright © 2016 Byron 3D Games Studio. All rights reserved.