20 package net.sf.gridarta.model.autojoin;
25 import org.jetbrains.annotations.Nullable;
60 public InsertionResult(@Nullable
final G gameObject, @Nullable
final R archetype) {
61 if (gameObject != null && archetype != null) {
62 throw new IllegalArgumentException();
R getArchetype()
Returns the Archetype that should be inserted.
final R archetype
The Archetype that should be inserted.
InsertionResult(@Nullable final G gameObject, @Nullable final R archetype)
Creates a new instance.
Base package of all Gridarta classes.
Reflects a game object (object on a map).
GameObjects are the objects based on Archetypes found on maps.
G getGameObject()
Returns the GameObject that has been modified.
final G gameObject
The GameObject that has been modified.
The result of an insertion operation involving autojoining.
Interface for MapArchObjects.