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

    • Method Detail

      • newMapControl

        @NotNull
        @NotNull MapControl<G,​A,​R> newMapControl​(@Nullable
                                                             @Nullable java.util.List<G> objects,
                                                             @NotNull
                                                             A mapArchObject,
                                                             @Nullable
                                                             @Nullable MapFile mapFile)
        Creates a new map control instance.
        Parameters:
        objects - the objects to insert into the new map
        mapArchObject - the map arch object to use for the new map
        mapFile - the associated map file
        Returns:
        the new map control instance
      • newPickmapControl

        @NotNull
        @NotNull MapControl<G,​A,​R> newPickmapControl​(@Nullable
                                                                 @Nullable java.util.List<G> objects,
                                                                 @NotNull
                                                                 A mapArchObject,
                                                                 @Nullable
                                                                 @Nullable MapFile mapFile)
        Creates a new pickmap map control instance.
        Parameters:
        objects - the objects to insert into the new pickmap
        mapArchObject - the map arch object to use for the new pickmap
        mapFile - the associated map file
        Returns:
        the new pickmap map control instance