Interface AppFragment
- All Superinterfaces:
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 TypeMethodDescriptiondefault void
Receive the application instance as soon as it is available.
-
Method Details
-
receiveApplication
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
-