瀏覽代碼

fix links

mitm001 5 年之前
父節點
當前提交
4cff76062b

+ 2 - 2
docs/modules/tutorials/pages/concepts/best_practices.adoc

@@ -130,7 +130,7 @@ Even for large experienced game producers, the creation of such a complex game i
 
 === Extend SimpleApplication
 
-Every jME3 game is centered around one main class that (directly or indirectly) extends com.jme3.app.xref:ROOT:jme3/intermediate/simpleapplication.adoc[SimpleApplication].
+Every jME3 game is centered around one main class that (directly or indirectly) extends com.jme3.app.xref:core:app/simpleapplication.adoc[SimpleApplication].
 
 
 [IMPORTANT]
@@ -207,7 +207,7 @@ If your game is even more complex, you may want to learn about "real" Entity Sys
 
 === The Smart Way to Access Game Features
 
-xref:ROOT:jme3/intermediate/simpleapplication.adoc[SimpleApplication] gives you access to game features such as a the rootNode, assetManager, guiNode, inputManager, audioManager, physicsSpace, viewPort, and the camera. But what if you need this access also from another class? Don't extend SimpleApplication a second time, and don't pass around tons of object references in constructors! Needing access to application level objects is a sign that this class should be designed as an xref:core:app/state/application_states.adoc[AppState] (read details there).
+xref:core:app/simpleapplication.adoc[SimpleApplication] gives you access to game features such as a the rootNode, assetManager, guiNode, inputManager, audioManager, physicsSpace, viewPort, and the camera. But what if you need this access also from another class? Don't extend SimpleApplication a second time, and don't pass around tons of object references in constructors! Needing access to application level objects is a sign that this class should be designed as an xref:core:app/state/application_states.adoc[AppState] (read details there).
 
 An AppState has access to all game features in the SimpleApplication via the `this.app` and `this.stateManager` objects. Examples:
 

+ 1 - 1
docs/modules/tutorials/pages/concepts/faq.adoc

@@ -32,7 +32,7 @@ Yes! Actually, you MUST customize it! For your own games, you always create a cu
 
 *Learn more:*
 
-* xref:ROOT:jme3/intermediate/simpleapplication.adoc[SimpleApplication]
+* xref:core:app/simpleapplication.adoc[SimpleApplication]
 * xref:ROOT:jme3/intermediate/appsettings.adoc[AppSettings]