public class BelowFloorInsertionMode<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 |
---|
BelowFloorInsertionMode(GameObjectMatcher floorGameObjectMatcher)
Initializes the class.
|
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 BelowFloorInsertionMode(@Nullable GameObjectMatcher floorGameObjectMatcher)
floorGameObjectMatcher
- the floor matcher to usepublic 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