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