public class ImageCreator<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
extends java.lang.Object
Constructor and Description |
---|
ImageCreator(@NotNull MapManager<G,A,R> mapManager,
@NotNull RendererFactory<G,A,R> rendererFactory)
Creates a new instance.
|
Modifier and Type | Method and 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) |
public ImageCreator(@NotNull @NotNull MapManager<G,A,R> mapManager, @NotNull @NotNull RendererFactory<G,A,R> rendererFactory)
mapManager
- the map manager for loading map instancesrendererFactory
- the renderer factory for creating imagespublic void createImage(@NotNull @NotNull MapModel<G,A,R> mapModel, @NotNull @NotNull java.io.File file) throws java.io.IOException
java.io.IOException
public void makeImage(@NotNull @NotNull java.io.File in, @NotNull @NotNull java.io.File out) throws java.io.IOException
java.io.IOException