 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.model.autojoin;
22 import java.io.Serializable;
23 import java.util.IdentityHashMap;
28 import org.jetbrains.annotations.NotNull;
29 import org.jetbrains.annotations.Nullable;
62 for (
final R archetype : autojoinList.getArchetypes(i)) {
String getArchetypeName()
Returns the name of this archetype.
Base package of all Gridarta classes.
static final int SIZE
The number of archetypes in an autojoin list.
Reflects a game object (object on a map).
static final long serialVersionUID
The serial version UID.
AutojoinList< G, A, R > getAutojoinList(@NotNull final Archetype< G, A, R > archetype)
Returns an AutojoinList for a given archetype.
R getArchetype()
Returns the Archetype this GameObject is based on.
final Map< Archetype< G, A, R >, AutojoinList< G, A, R > > autojoinLists
Mapping of archetypes to autojoin lists.
GameObjects are the objects based on Archetypes found on maps.
Interface for MapArchObjects.
Contains a list of (typically wall-)arches which do autojoining.
Exception thrown if an AutojoinList is invalid.
Manages a mapping between archetypes to AutojoinLists.
void addAutojoinList(@NotNull final AutojoinList< G, A, R > autojoinList)
Adds a new autojoin list.