Class InsertionModeSet<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>

    • 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 mode
        floorGameObjectMatcher - the game object matcher for selecting floor game objects
        wallGameObjectMatcher - the game object matcher for selecting wall game objects
        belowFloorGameObjectMatcher - the game object matcher for selecting below floor game objects
        systemObjectGameObjectMatcher - 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