Package net.sf.gridarta.model.mapcontrol
Interface MapControlFactory<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
-
- All Known Implementing Classes:
DefaultMapControlFactory,DefaultMapControlFactory,DefaultMapControlFactory
public interface MapControlFactory<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>Factory for creatingMapControlinstances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
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 mapmapArchObject- the map arch object to use for the new mapmapFile- 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 pickmapmapArchObject- the map arch object to use for the new pickmapmapFile- the associated map file- Returns:
- the new pickmap map control instance
-
-