public class BelowFloorInsertionMode extends java.lang.Object implements InsertionMode
| Constructor and Description |
|---|
BelowFloorInsertionMode(@Nullable GameObjectMatcher floorGameObjectMatcher)
Initializes the class.
|
| Modifier and Type | Method and Description |
|---|---|
<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
insert(G gameObject,
@NotNull MapSquare<G,A,R> mapSquare)
Inserts a
GameObject into a MapSquare. |
java.lang.String |
toString() |
public BelowFloorInsertionMode(@Nullable
@Nullable GameObjectMatcher floorGameObjectMatcher)
floorGameObjectMatcher - the floor matcher to usepublic <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> void insert(@NotNull G gameObject, @NotNull @NotNull MapSquare<G,A,R> mapSquare)
InsertionModeGameObject into a MapSquare.insert in interface InsertionModeG - the game object type of the objectA - the map arch object type of the objectR - the archetype type of the objectgameObject - the game object to insertmapSquare - the map square to modifypublic java.lang.String toString()
toString in class java.lang.Object