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


  • public class ImageCreator<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>
    extends java.lang.Object
    Creates images from map instances.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void createImage​(@NotNull MapModel<G,​A,​R> mapModel, @NotNull java.io.File file)  
      void makeImage​(@NotNull java.io.File in, @NotNull java.io.File out)  
      • Methods inherited from class java.lang.Object

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

      • ImageCreator

        public ImageCreator​(@NotNull
                            @NotNull MapManager<G,​A,​R> mapManager,
                            @NotNull
                            @NotNull RendererFactory<G,​A,​R> rendererFactory)
        Creates a new instance.
        Parameters:
        mapManager - the map manager for loading map instances
        rendererFactory - the renderer factory for creating images
    • Method Detail

      • createImage

        public void createImage​(@NotNull
                                @NotNull MapModel<G,​A,​R> mapModel,
                                @NotNull
                                @NotNull java.io.File file)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • makeImage

        public void makeImage​(@NotNull
                              @NotNull java.io.File in,
                              @NotNull
                              @NotNull java.io.File out)
                       throws java.io.IOException
        Throws:
        java.io.IOException