public class Loader<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
extends java.lang.Object
| Constructor and Description |
|---|
Loader(@NotNull ErrorView errorView,
@NotNull MapFolderTree<G,A,R> mapFolderTree,
@NotNull MapReaderFactory<G,A> mapReaderFactory,
@NotNull MapManager<G,A,R> pickmapManager,
@NotNull MapViewsManager<G,A,R> mapViewsManager)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
load()
Loads all pickmap files from a directory and its sub-directories.
|
public Loader(@NotNull
@NotNull ErrorView errorView,
@NotNull
@NotNull MapFolderTree<G,A,R> mapFolderTree,
@NotNull
@NotNull MapReaderFactory<G,A> mapReaderFactory,
@NotNull
@NotNull MapManager<G,A,R> pickmapManager,
@NotNull
@NotNull MapViewsManager<G,A,R> mapViewsManager)
errorView - the error view for reporting error messagesmapFolderTree - the model to add the loaded pickmaps tomapReaderFactory - the map reader factory to loading map filespickmapManager - the map manager for loading pickmapsmapViewsManager - the map views manager