Przeglądaj źródła

Update application_states.adoc

mitm001 8 lat temu
rodzic
commit
872dd0ad7d

+ 3 - 0
src/docs/asciidoc/jme3/advanced/application_states.adoc

@@ -242,8 +242,11 @@ Notable BaseAppState changes are as follows:
 *  You no longer have to cast SimpleApplication to have access to AssetManager, AppStateManager, and you can even get a State directly. The getters getApplication(), getAssetManager(), getState(type) and their methods are available to you immediately. However, you still have to cast SimpleApplication to get rootNode.
 *  You no longer call super during cleanup, its done for you now.
 *  It is now safe to do all initialization and cleanup in the onEnable()/onDisable() methods. Choosing to use initialize() and cleanup() for this is a matter of performance specifics for the implementor.
+
+
 *  Cleanup and setEnabled now have logging built in.
 
+
 You use BaseAppState as you would AbstractAppState, other than mentioned above, and which one you use is entirely up to you. However, BaseAppState makes your life easier and is the recommended one to use now.