Interface AddListener

    • Method Detail

      • preAdd

        boolean preAdd​(Object obj,
                       double... location)
        Deprecated.
        Called immediately prior to an agent being added.
        Parameters:
        obj - the object that will be added
        location - the location at which the agent should be added. @return true if an object can be added to the specified location, otherwise false.
      • postAdd

        void postAdd()
        Deprecated.
        Called immediately after the agent has been added.
      • getAddHandler

        PEditorEventListener getAddHandler()
        Deprecated.
        Gets the PInputEvent handler that will handle the gui part of the adding.
        Returns:
        the PInputEvent handler that will handle the gui part of the adding.