Package net.sf.gridarta.model.mapmodel
Class InsertionModeSet<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
- java.lang.Object
-
- net.sf.gridarta.model.mapmodel.InsertionModeSet<G,A,R>
-
public class InsertionModeSet<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends java.lang.ObjectA set ofInsertionModes.
-
-
Constructor Summary
Constructors Constructor Description InsertionModeSet(@NotNull InsertionMode topmostInsertionMode, @Nullable GameObjectMatcher floorGameObjectMatcher, @Nullable GameObjectMatcher wallGameObjectMatcher, @Nullable GameObjectMatcher belowFloorGameObjectMatcher, @Nullable GameObjectMatcher systemObjectGameObjectMatcher)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull InsertionModegetAboveFloorInsertionMode()Returns the "above floor" insertion mode.@NotNull InsertionModegetAutoInsertionMode()Returns the "auto" insertion mode.@NotNull InsertionModegetBelowFloorInsertionMode()Returns the "below floor" insertion mode.@NotNull InsertionModegetBottommostInsertionMode()Returns the "bottommost" insertion mode.@NotNull InsertionModegetTopmostInsertionMode()Returns the "topmost" insertion mode.
-
-
-
Constructor Detail
-
InsertionModeSet
public InsertionModeSet(@NotNull @NotNull InsertionMode topmostInsertionMode, @Nullable @Nullable GameObjectMatcher floorGameObjectMatcher, @Nullable @Nullable GameObjectMatcher wallGameObjectMatcher, @Nullable @Nullable GameObjectMatcher belowFloorGameObjectMatcher, @Nullable @Nullable GameObjectMatcher systemObjectGameObjectMatcher)Creates a new instance.- Parameters:
topmostInsertionMode- the "topmost" insertion modefloorGameObjectMatcher- the game object matcher for selecting floor game objectswallGameObjectMatcher- the game object matcher for selecting wall game objectsbelowFloorGameObjectMatcher- the game object matcher for selecting below floor game objectssystemObjectGameObjectMatcher- the game object matcher for selecting game objects that should stay on top
-
-
Method Detail
-
getAutoInsertionMode
@NotNull public @NotNull InsertionMode getAutoInsertionMode()
Returns the "auto" insertion mode.- Returns:
- the insertion mode
-
getTopmostInsertionMode
@NotNull public @NotNull InsertionMode getTopmostInsertionMode()
Returns the "topmost" insertion mode.- Returns:
- the insertion mode
-
getAboveFloorInsertionMode
@NotNull public @NotNull InsertionMode getAboveFloorInsertionMode()
Returns the "above floor" insertion mode.- Returns:
- the insertion mode
-
getBelowFloorInsertionMode
@NotNull public @NotNull InsertionMode getBelowFloorInsertionMode()
Returns the "below floor" insertion mode.- Returns:
- the insertion mode
-
getBottommostInsertionMode
@NotNull public @NotNull InsertionMode getBottommostInsertionMode()
Returns the "bottommost" insertion mode.- Returns:
- the insertion mode
-
-