Gridarta Editor
net.sf.gridarta.model.mapmodel.AboveFloorInsertionMode Class Reference

Insert right above the topmost floor square. More...

+ Inheritance diagram for net.sf.gridarta.model.mapmodel.AboveFloorInsertionMode:
+ Collaboration diagram for net.sf.gridarta.model.mapmodel.AboveFloorInsertionMode:

Public Member Functions

 AboveFloorInsertionMode (@Nullable final GameObjectMatcher floorGameObjectMatcher)
 Initializes the class. More...
 
String toString ()
 

Package Functions

public< G extends GameObject< G, A, R >, A extends MapArchObject< A >, R extends Archetype< G, A, R > > void insert (@NotNull final G gameObject, @NotNull final MapSquare< G, A, R > mapSquare)
 

Private Attributes

final GameObjectMatcher floorGameObjectMatcher
 A GameObjectMatcher matching floor game objects. More...
 

Static Private Attributes

static final long serialVersionUID = 1L
 The serial version UID. More...
 

Additional Inherited Members

- Public Attributes inherited from net.sf.gridarta.model.mapmodel.InsertionMode
< G extends GameObject< G, A, R > A extends MapArchObject< A >
 

Detailed Description

Insert right above the topmost floor square.

Inserts bottommost if no floor square exists.

Author
Andreas Kirschbaum

Definition at line 34 of file AboveFloorInsertionMode.java.

Constructor & Destructor Documentation

◆ AboveFloorInsertionMode()

net.sf.gridarta.model.mapmodel.AboveFloorInsertionMode.AboveFloorInsertionMode ( @Nullable final GameObjectMatcher  floorGameObjectMatcher)

Initializes the class.

Parameters
floorGameObjectMatcherthe floor matcher to use

Definition at line 52 of file AboveFloorInsertionMode.java.

References net.sf.gridarta.model.mapmodel.AboveFloorInsertionMode.floorGameObjectMatcher.

Member Function Documentation

◆ insert()

public<G extends GameObject<G, A, R>, A extends MapArchObject<A>, R extends Archetype<G, A, R> > void net.sf.gridarta.model.mapmodel.AboveFloorInsertionMode.insert ( @NotNull final G  gameObject,
@NotNull final MapSquare< G, A, R >  mapSquare 
)
package

◆ toString()

String net.sf.gridarta.model.mapmodel.AboveFloorInsertionMode.toString ( )

Definition at line 73 of file AboveFloorInsertionMode.java.

Member Data Documentation

◆ floorGameObjectMatcher

final GameObjectMatcher net.sf.gridarta.model.mapmodel.AboveFloorInsertionMode.floorGameObjectMatcher
private

◆ serialVersionUID

final long net.sf.gridarta.model.mapmodel.AboveFloorInsertionMode.serialVersionUID = 1L
staticprivate

The serial version UID.

Definition at line 39 of file AboveFloorInsertionMode.java.


The documentation for this class was generated from the following file: