Selaa lähdekoodia

Update application_states.adoc

mitm001 8 vuotta sitten
vanhempi
commit
a4328167bd
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/docs/asciidoc/jme3/advanced/application_states.adoc

+ 1 - 1
src/docs/asciidoc/jme3/advanced/application_states.adoc

@@ -242,7 +242,7 @@ Notable BaseAppState changes are as follows:
 *  You no longer need to call super.initialize(stateManager, app) because it is now called by BaseAppState upon initialization for you.
 *  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. 
+*  It is now safe to do all initialization and cleanup in the onEnable()/onDisable() methods.
 *  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.