Interface AppFragment

All Superinterfaces:
Fragment

public interface AppFragment extends Fragment
A fragment that receives the application instance. This will let you access most of the JME3 API directly, but should be avoided if possible in favor of using the more specific fragments. This is mostly useful for backwards compatibility with existing jmonkeyengine code.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Receive the application instance as soon as it is available.
  • Method Details

    • receiveApplication

      default void receiveApplication(Application app)
      Receive the application instance as soon as it is available. The reference to the application can be stored and used later in the component logic.
      Parameters:
      app - the Application instance