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

    • Constructor Detail

      • MapCursorActions

        public MapCursorActions​(@NotNull
                                @NotNull MapActions<G,​A,​R> mapActions)
        Creates a new instance.
    • Method Detail

      • moveCursorNorth

        @ActionMethod
        public void moveCursorNorth()
        Action method for "move cursor north".
      • moveCursorSouth

        @ActionMethod
        public void moveCursorSouth()
        Action method for "move cursor south".
      • moveCursorEast

        @ActionMethod
        public void moveCursorEast()
        Action method for "move cursor east".
      • moveCursorWest

        @ActionMethod
        public void moveCursorWest()
        Action method for "move cursor west".
      • moveCursorNorthEast

        @ActionMethod
        public void moveCursorNorthEast()
        Action method for "move cursor north east".
      • moveCursorNorthWest

        @ActionMethod
        public void moveCursorNorthWest()
        Action method for "move cursor north west".
      • moveCursorSouthEast

        @ActionMethod
        public void moveCursorSouthEast()
        Action method for "move cursor south east".
      • moveCursorSouthWest

        @ActionMethod
        public void moveCursorSouthWest()
        Action method for "move cursor south west".
      • setAction

        public void setAction​(@NotNull
                              @NotNull javax.swing.Action action,
                              @NotNull
                              @NotNull java.lang.String name)
        Description copied from interface: EditorAction
        Sets the Action instance for this editor action.
        Specified by:
        setAction in interface EditorAction
        Parameters:
        action - the action instance
        name - the name of the action