public interface MapControlFactory<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
MapControl
instances.Modifier and Type | Method and Description |
---|---|
@NotNull MapControl<G,A,R> |
newMapControl(@Nullable java.util.List<G> objects,
A mapArchObject,
@Nullable MapFile mapFile)
Creates a new map control instance.
|
@NotNull MapControl<G,A,R> |
newPickmapControl(@Nullable java.util.List<G> objects,
A mapArchObject,
@Nullable MapFile mapFile)
Creates a new pickmap map control instance.
|
@NotNull @NotNull MapControl<G,A,R> newMapControl(@Nullable @Nullable java.util.List<G> objects, @NotNull A mapArchObject, @Nullable @Nullable MapFile mapFile)
objects
- the objects to insert into the new mapmapArchObject
- the map arch object to use for the new mapmapFile
- the associated map file@NotNull @NotNull MapControl<G,A,R> newPickmapControl(@Nullable @Nullable java.util.List<G> objects, @NotNull A mapArchObject, @Nullable @Nullable MapFile mapFile)
objects
- the objects to insert into the new pickmapmapArchObject
- the map arch object to use for the new pickmapmapFile
- the associated map file