public class InsertionResult<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
extends java.lang.Object
| Constructor and Description |
|---|
InsertionResult()
Creates an empty new instance.
|
InsertionResult(G gameObject)
Creates a new instance for a game object.
|
InsertionResult(R archetype)
Creates a new instance for an archetype.
|
| Modifier and Type | Method and Description |
|---|---|
R |
getArchetype()
Returns the
Archetype that should be inserted. |
G |
getGameObject()
Returns the
GameObject that has been modified. |
public InsertionResult()
public InsertionResult(@NotNull
G gameObject)
gameObject - the game object that has been modifiedpublic InsertionResult(@NotNull
R archetype)
archetype - the archetype that should be inserted or null if
no archetype should be inserted@Nullable public G getGameObject()
GameObject that has been modified.null if no game
object has been modified