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(G gameObject,
R archetype)
Creates a new instance.
|
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(@Nullable G gameObject, @Nullable R archetype)
gameObject
- the game object that has been modified or null
if no game object has been modifiedarchetype
- 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