public class BottommostInsertionMode<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends java.lang.Object implements InsertionMode<G,A,R>
Constructor and Description |
---|
BottommostInsertionMode() |
Modifier and Type | Method and Description |
---|---|
void |
insert(G gameObject,
MapSquare<G,A,R> mapSquare)
Inserts a
GameObject into a MapSquare . |
java.lang.String |
toString() |
public void insert(@NotNull G gameObject, @NotNull MapSquare<G,A,R> mapSquare)
GameObject
into a MapSquare
.insert
in interface InsertionMode<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
gameObject
- the game object to insertmapSquare
- the map square to modifypublic java.lang.String toString()
toString
in class java.lang.Object