Interface RendererFactory<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>

    • Method Detail

      • newSimpleMapRenderer

        @NotNull
        @NotNull MapRenderer newSimpleMapRenderer​(@NotNull
                                                  @NotNull MapModel<G,​A,​R> mapModel)
        Creates a new map renderer instance which paints only squares but no grid, cursor, selection, or errors.
        Parameters:
        mapModel - the map model to render
        Returns:
        the new map renderer
      • newMapRenderer

        @NotNull
        @NotNull AbstractMapRenderer<G,​A,​R> newMapRenderer​(@NotNull
                                                                       @NotNull MapModel<G,​A,​R> mapModel,
                                                                       @NotNull
                                                                       @NotNull MapGrid mapGrid)
        Creates a new MapRenderer suitable for painting maps.
        Parameters:
        mapModel - the map model to render
        mapGrid - the map grid to render
        Returns:
        the new map renderer
      • newPickmapRenderer

        @NotNull
        @NotNull AbstractMapRenderer<G,​A,​R> newPickmapRenderer​(@NotNull
                                                                           @NotNull MapModel<G,​A,​R> mapModel,
                                                                           @NotNull
                                                                           @NotNull MapGrid mapGrid)
        Creates a new MapRenderer suitable for painting pickmaps.
        Parameters:
        mapModel - the map model to render
        mapGrid - the map grid to render
        Returns:
        the new map renderer