Interface Node.LifecycleListener

  • Enclosing class:
    Node

    public static interface Node.LifecycleListener
    Interface definition for callbacks to be invoked when node lifecycle events occur.
    • Method Detail

      • onActivated

        void onActivated​(Node node)
        Notifies the listener that Node.onActivate() was called.
        Parameters:
        node - the node that was activated
      • onUpdated

        void onUpdated​(Node node,
                       FrameTime frameTime)
        Notifies the listener that Node.onUpdate(FrameTime) was called.
        Parameters:
        node - the node that was updated
        frameTime - provides time information for the current frame
      • onDeactivated

        void onDeactivated​(Node node)
        Notifies the listener that Node.onDeactivate() was called.
        Parameters:
        node - the node that was deactivated