Ver código fonte

Update application_states.adoc

mitm001 8 anos atrás
pai
commit
786aa656f9

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

@@ -238,7 +238,7 @@ public class MyBaseAppState extends BaseAppState {       
 
 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 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.