public class AutojoinLists<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
extends java.lang.Object
implements java.io.Serializable
AutojoinLists.| Constructor and Description |
|---|
AutojoinLists() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAutojoinList(@NotNull AutojoinList<G,A,R> autojoinList)
Adds a new autojoin list.
|
@Nullable AutojoinList<G,A,R> |
getAutojoinList(@NotNull Archetype<G,A,R> archetype)
Returns an
AutojoinList for a given archetype. |
public void addAutojoinList(@NotNull
@NotNull AutojoinList<G,A,R> autojoinList)
throws IllegalAutojoinListException
autojoinList - the autojoin list to addIllegalAutojoinListException - if the autojoin list cannot be
added@Nullable public @Nullable AutojoinList<G,A,R> getAutojoinList(@NotNull @NotNull Archetype<G,A,R> archetype)
AutojoinList for a given archetype.archetype - the archetypenull if none is defined for the
archetype