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 |
---|---|
MapControl<G,A,R> |
newMapControl(java.util.List<G> objects,
A mapArchObject,
MapFile mapFile)
Create a new map control instance.
|
MapControl<G,A,R> |
newPickmapControl(java.util.List<G> objects,
A mapArchObject,
MapFile mapFile)
Create a new pickmap map control instance.
|
@NotNull MapControl<G,A,R> newMapControl(@Nullable java.util.List<G> objects, @NotNull A mapArchObject, @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 MapControl<G,A,R> newPickmapControl(@Nullable java.util.List<G> objects, @NotNull A mapArchObject, @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