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

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void goExit()
      Action method to open the "go exit" dialog.
      void setAction​(@NotNull javax.swing.Action action, @NotNull java.lang.String name)
      Sets the Action instance for this editor action.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GoExitDialogManager

        public GoExitDialogManager​(@NotNull
                                   @NotNull java.awt.Window parent,
                                   @NotNull
                                   @NotNull MapManager<G,​A,​R> mapManager,
                                   @NotNull
                                   @NotNull MapViewManager<G,​A,​R> mapViewManager,
                                   @NotNull
                                   @NotNull GameObjectMatcher exitGameObjectMatcher,
                                   @NotNull
                                   @NotNull EnterMap<G,​A,​R> enterMap,
                                   @NotNull
                                   @NotNull FaceObjectProviders faceObjectProviders)
        Creates a new instance.
        Parameters:
        parent - the parent window for go map dialogs
        mapManager - the map manager to use
        mapViewManager - the map view manager instance
        exitGameObjectMatcher - the game object matcher for selecting exits
        enterMap - the enter map instance to use
        faceObjectProviders - the face object providers for looking up faces
    • Method Detail

      • goExit

        @ActionMethod
        public void goExit()
        Action method to open the "go exit" dialog.
      • 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