Explorar el Código

Fixed pucuation, broken link

mitm001 hace 8 años
padre
commit
c4548b536e
Se han modificado 1 ficheros con 4 adiciones y 5 borrados
  1. 4 5
      src/docs/asciidoc/jme3/advanced/application_states.adoc

+ 4 - 5
src/docs/asciidoc/jme3/advanced/application_states.adoc

@@ -274,23 +274,22 @@ A new link:http://javadoc.jmonkeyengine.org/com/jme3/app/state/BaseAppState.html
 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 thier methods are available to you immediately. However, you still have to cast SimpleApplication to get rootNode.
+*  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 no differently than 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.
+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.
 
 If you use the jme SDK you can add the following template to make adding BaseAppState to your project easier. 
 
 *  From the SDK select menu:Tools[Templates>JME Classes>New AppState].
 *  Click the btn:[Duplicate] button.
 *  Rename this newly created copy to "`New BaseAppState`".
-*  Select btn:[Open In Editor].
+*  Select btn:[Open in Editor].
 *  Select all text in the open file and delete it.
 *  Copy and paste the code below into the file.
 
-[source,java]
 ----
 <#assign licenseFirst = "/*">
 <#assign licensePrefix = " * ">
@@ -344,4 +343,4 @@ public class ${name} extends BaseAppState {       
 }
 ----
 
-See link:http://javadoc.jmonkeyengine.org/com/jme3/app/state/BaseAppState.htmlBaseAppState for more information.
+See link:http://javadoc.jmonkeyengine.org/com/jme3/app/state/BaseAppState.html[BaseAppState] for more information.