Package net.sf.gridarta.model.mapmodel
Class TopmostInsertionMode
- java.lang.Object
-
- net.sf.gridarta.model.mapmodel.TopmostInsertionMode
-
- All Implemented Interfaces:
java.io.Serializable,InsertionMode
public class TopmostInsertionMode extends java.lang.Object implements InsertionMode
Insert topmost.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TopmostInsertionMode()
-
Method Summary
All Methods Instance Methods Concrete 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.java.lang.StringtoString()
-
-
-
Method Detail
-
insert
public <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)
Description copied from interface:InsertionModeInserts aGameObjectinto aMapSquare.- Specified by:
insertin interfaceInsertionMode- 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
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-