|
| AttachTiledMaps (@NotNull final MapManager< G, A, R > mapManager, @NotNull final TileLink @NotNull[] tileLinks) |
|
void | attachTiledMaps (@NotNull final MapModel< G, A, R > mapModel, @NotNull final String @NotNull[] tilePaths, @NotNull final File mapsDirectory, final boolean performAction) throws CannotLoadMapFileException, CannotSaveMapFileException, MapSizeMismatchException, UnsavedMapException |
|
|
void | fillAdjacentMaps (@NotNull final List< MapControl< G, A, R >> mapControls) throws CannotLoadMapFileException |
|
void | loadAdjacentMaps (@NotNull final MapModel< G, A, R > mapModel, @NotNull final Collection< MapControl< G, A, R >> mapControls, @NotNull final String @NotNull[] tilePaths) throws CannotLoadMapFileException |
|
MapControl< G, A, R > | loadMapControl (@NotNull final MapModel< G, A, R > mapModel, @NotNull final String path) throws IOException |
|
void | saveAdjacentMaps (@NotNull final Iterable< MapControl< G, A, R >> mapControls) throws CannotSaveMapFileException |
|
void | updateTilePaths (@NotNull final MapModel< G, A, R > mapModel, @NotNull final List< MapControl< G, A, R >> mapControls, @NotNull final String @NotNull[] tilePaths, @NotNull final File mapsDirectory) throws CannotSaveMapFileException |
|
void | validateMapSizes (@NotNull final MapModel< G, A, R > mapModel, @NotNull final Iterable< MapControl< G, A, R >> mapControls) throws MapSizeMismatchException |
|
|
static int | getLastSlashIndex (@NotNull final String base) |
|
static String | getTilePath (@NotNull final String base, @NotNull final String link, @NotNull final File mapsDirectory) throws CannotSaveMapFileException |
|
Attaches maps to adjacent tiled maps.
- Author
- Michael Toennies
-
Christian Hujer
-
Andreas Kirschbaum
Definition at line 50 of file AttachTiledMaps.java.
◆ AttachTiledMaps()
Creates a new instance.
- Parameters
-
mapManager | the map manager to use |
tileLinks | the tile links to use |
Definition at line 69 of file AttachTiledMaps.java.
◆ attachTiledMaps()
void net.sf.gridarta.actions.AttachTiledMaps< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.attachTiledMaps |
( |
@NotNull final MapModel< G, A, R > |
mapModel, |
|
|
@NotNull final String @NotNull[] |
tilePaths, |
|
|
@NotNull final File |
mapsDirectory, |
|
|
final boolean |
performAction |
|
) |
| throws CannotLoadMapFileException, CannotSaveMapFileException, MapSizeMismatchException, UnsavedMapException |
◆ fillAdjacentMaps()
◆ getLastSlashIndex()
◆ getTilePath()
◆ loadAdjacentMaps()
void net.sf.gridarta.actions.AttachTiledMaps< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.loadAdjacentMaps |
( |
@NotNull final MapModel< G, A, R > |
mapModel, |
|
|
@NotNull final Collection< MapControl< G, A, R >> |
mapControls, |
|
|
@NotNull final String @NotNull[] |
tilePaths |
|
) |
| throws CannotLoadMapFileException |
|
private |
◆ loadMapControl()
MapControl<G, A, R> net.sf.gridarta.actions.AttachTiledMaps< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.loadMapControl |
( |
@NotNull final MapModel< G, A, R > |
mapModel, |
|
|
@NotNull final String |
path |
|
) |
| throws IOException |
|
private |
◆ saveAdjacentMaps()
◆ updateTilePaths()
void net.sf.gridarta.actions.AttachTiledMaps< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.updateTilePaths |
( |
@NotNull final MapModel< G, A, R > |
mapModel, |
|
|
@NotNull final List< MapControl< G, A, R >> |
mapControls, |
|
|
@NotNull final String @NotNull[] |
tilePaths, |
|
|
@NotNull final File |
mapsDirectory |
|
) |
| throws CannotSaveMapFileException |
|
private |
◆ validateMapSizes()
void net.sf.gridarta.actions.AttachTiledMaps< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.validateMapSizes |
( |
@NotNull final MapModel< G, A, R > |
mapModel, |
|
|
@NotNull final Iterable< MapControl< G, A, R >> |
mapControls |
|
) |
| throws MapSizeMismatchException |
|
private |
◆ mapManager
◆ tileLinks
The documentation for this class was generated from the following file: