Package net.sf.gridarta.model.mapmodel
Interface InsertionMode
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
AboveFloorInsertionMode,AutoInsertionMode,BelowFloorInsertionMode,BottommostInsertionMode,TopmostInsertionMode
public interface InsertionMode extends java.io.SerializableInsertion modes.- Todo:
- make replacement of multi-part objects work
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
voidinsert(G gameObject, @NotNull MapSquare<G,A,R> mapSquare)Inserts aGameObjectinto aMapSquare.
-
-
-
Method Detail
-
insert
<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)
Inserts aGameObjectinto aMapSquare.- Type Parameters:
G- the game object type of the objectA- the map arch object type of the objectR- the archetype type of the object- Parameters:
gameObject- the game object to insertmapSquare- the map square to modify
-
-