public interface RendererFactory<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
MapRenderer
instances.Modifier and Type | Method and Description |
---|---|
@NotNull AbstractMapRenderer<G,A,R> |
newMapRenderer(@NotNull MapModel<G,A,R> mapModel,
@NotNull MapGrid mapGrid)
Creates a new
MapRenderer suitable for painting maps. |
@NotNull AbstractMapRenderer<G,A,R> |
newPickmapRenderer(@NotNull MapModel<G,A,R> mapModel,
@NotNull MapGrid mapGrid)
Creates a new
MapRenderer suitable for painting pickmaps. |
@NotNull MapRenderer |
newSimpleMapRenderer(@NotNull MapModel<G,A,R> mapModel)
Creates a new map renderer instance which paints only squares but no
grid, cursor, selection, or errors.
|
@NotNull @NotNull MapRenderer newSimpleMapRenderer(@NotNull @NotNull MapModel<G,A,R> mapModel)
mapModel
- the map model to render@NotNull @NotNull AbstractMapRenderer<G,A,R> newMapRenderer(@NotNull @NotNull MapModel<G,A,R> mapModel, @NotNull @NotNull MapGrid mapGrid)
MapRenderer
suitable for painting maps.mapModel
- the map model to rendermapGrid
- the map grid to render@NotNull @NotNull AbstractMapRenderer<G,A,R> newPickmapRenderer(@NotNull @NotNull MapModel<G,A,R> mapModel, @NotNull @NotNull MapGrid mapGrid)
MapRenderer
suitable for painting pickmaps.mapModel
- the map model to rendermapGrid
- the map grid to render