20 package net.sf.gridarta.model.mapmodel;
29 import org.jetbrains.annotations.NotNull;
77 public MapModelFactory(@NotNull
final ArchetypeChooserModel<G, A, R> archetypeChooserModel, @NotNull
final AutojoinLists<G, A, R> autojoinLists, @NotNull
final GameObjectFactory<G, A, R> gameObjectFactory, @NotNull
final GameObjectMatchers gameObjectMatchers, @NotNull
final InsertionMode<G, A, R> topmostInsertionMode) {
A factory for creating MapModel instances.
This package contains classes related to matching GameObjects, so called GameObjectMatchers.
final GameObjectMatchers gameObjectMatchers
The GameObjectMatchers to use.
final GameObjectFactory< G, A, R > gameObjectFactory
The GameObjectFactory for creating GameObjects.
Base package of all Gridarta classes.
Reflects a game object (object on a map).
Abstract factory for creating GameObject instances.
GameObjects are the objects based on Archetypes found on maps.
Maintains GameObjectMatcher instances.
final AutojoinLists< G, A, R > autojoinLists
The AutojoinLists instance to use.
final InsertionMode< G, A, R > topmostInsertionMode
The "topmost" InsertionMode.
MapModel< G, A, R > newMapModel(@NotNull final A mapArchObject)
Creates a new MapModel instance.
The view of the archetype chooser.
Manages a mapping between archetypes to AutojoinLists.
final ArchetypeChooserModel< G, A, R > archetypeChooserModel
The ArchetypeChooserModel instance to use.
MapModelFactory(@NotNull final ArchetypeChooserModel< G, A, R > archetypeChooserModel, @NotNull final AutojoinLists< G, A, R > autojoinLists, @NotNull final GameObjectFactory< G, A, R > gameObjectFactory, @NotNull final GameObjectMatchers gameObjectMatchers, @NotNull final InsertionMode< G, A, R > topmostInsertionMode)
Creates a new instance.
Interface for MapArchObjects.
Implementation of MapModel that covers the similarities between crossfire and daimonin.