Package net.sf.gridarta.model.mapmodel
Class MapModelFactory<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
- java.lang.Object
-
- net.sf.gridarta.model.mapmodel.MapModelFactory<G,A,R>
-
public class MapModelFactory<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends java.lang.ObjectA factory for creatingMapModelinstances.
-
-
Constructor Summary
Constructors Constructor Description MapModelFactory(@NotNull ArchetypeChooserModel<G,A,R> archetypeChooserModel, @NotNull AutojoinLists<G,A,R> autojoinLists, @NotNull GameObjectFactory<G,A,R> gameObjectFactory, @NotNull GameObjectMatchers gameObjectMatchers, @NotNull InsertionMode topmostInsertionMode)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull MapModel<G,A,R>newMapModel(A mapArchObject)Creates a newMapModelinstance.
-
-
-
Constructor Detail
-
MapModelFactory
public MapModelFactory(@NotNull @NotNull ArchetypeChooserModel<G,A,R> archetypeChooserModel, @NotNull @NotNull AutojoinLists<G,A,R> autojoinLists, @NotNull @NotNull GameObjectFactory<G,A,R> gameObjectFactory, @NotNull @NotNull GameObjectMatchers gameObjectMatchers, @NotNull @NotNull InsertionMode topmostInsertionMode)Creates a new instance.- Parameters:
archetypeChooserModel- the archetype chooser model to useautojoinLists- the autojoin lists to usegameObjectFactory- the game object factory for creating game objectsgameObjectMatchers- the game object matchers to usetopmostInsertionMode- the "topmost" insertion mode
-
-