public class ImageCreator2<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
extends java.lang.Object
Constructor and Description |
---|
ImageCreator2(VolatileSettings volatileSettings,
ImageCreator<G,A,R> imageCreator)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
createImage(MapModel<G,A,R> mapModel,
java.awt.Component component)
Create an image of a map and save it as a file.
|
public ImageCreator2(@NotNull VolatileSettings volatileSettings, @NotNull ImageCreator<G,A,R> imageCreator)
volatileSettings
- the volatile settings to useimageCreator
- the image creator to forward topublic void createImage(@NotNull MapModel<G,A,R> mapModel, @NotNull java.awt.Component component)
mapModel
- the map to printcomponent
- the parent component to use