Class Loader<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>


  • public class Loader<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>
    extends java.lang.Object
    Loader for pickmaps from a directory.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void load()
      Loads all pickmap files from a directory and its sub-directories.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Loader

        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)
        Creates a new instance.
        Parameters:
        errorView - the error view for reporting error messages
        mapFolderTree - the model to add the loaded pickmaps to
        mapReaderFactory - the map reader factory to loading map files
        pickmapManager - the map manager for loading pickmaps
        mapViewsManager - the map views manager
    • Method Detail

      • load

        public void load()
        Loads all pickmap files from a directory and its sub-directories.