Ver Fonte

Update simpleapplication.adoc

Adjusted first 5 tables column width to 25,75 to make tables more readable.
mitm001 há 9 anos atrás
pai
commit
db3105df49
1 ficheiros alterados com 10 adições e 8 exclusões
  1. 10 8
      src/docs/asciidoc/jme3/intermediate/simpleapplication.adoc

+ 10 - 8
src/docs/asciidoc/jme3/intermediate/simpleapplication.adoc

@@ -56,7 +56,7 @@ Let's have a look at the +++<abbr title="Application Programming Interface">API<
 == Application Class
 
 Internally, com.jme3.app.SimpleApplication extends com.jme3.app.Application. The Application class represents a generic real-time 3D rendering jME3 application (i.e., not necessarily a game). Typically, you do not extend com.jme3.app.Application directly to create a game.
-[cols="2", options="header"]
+[cols="25,75", options="header"]
 |===
 
 a|Application class fields
@@ -95,7 +95,7 @@ getStateManager()
 a|You use the Application's state manager to activate <<jme3/advanced/application_states#,AppStates>>, such as <<jme3/advanced/physics#,Physics>>.
 
 |===
-[cols="2", options="header"]
+[cols="25,75", options="header"]
 |===
 
 a|Application methods
@@ -115,13 +115,13 @@ a|Stops the running jME3 game and closes the jME3 window.
 
 a|start(Type.Headless) etc
 a|Switch Context com.​jme3.​system.​JmeContext.Type when starting the application: +
-Type.Display – jME application runs in a window of its own. (This is the default.)+
+Type.Display – jME application runs in a window of its own. (This is the default.) +
 Type.Canvas – jME application is embedded in a <<jme3/advanced/swing_canvas#,Swing Canvas>>. +
 Type.Headless – jME application runs its event loop without calculating any view and without opening any window. Can be used for a <<jme3/advanced/headless_server#,Headless Server>> application. +
 Type.OffscreenSurface – jME application view is not shown and no window opens, but everything calculated and cached as bitmap (back buffer) for use by other applications.
 
 |===
-[cols="2", options="header"]
+[cols="25,75", options="header"]
 |===
 
 a|Internal class field/method
@@ -134,7 +134,8 @@ a|The application context contains the renderer, <<jme3/intermediate/appsettings
 a|inputEnabled
 a|this internal boolean is true if you want the system to listen for user inputs, and false if you just want to play a non-interactive scene. You change the boolean using <<jme3/intermediate/appsettings#,AppSettings>>.
 
-a|keyInput, mouseInput, joyInput, touchInput
+a|keyInput, mouseInput +
+joyInput, touchInput
 a|Default input contexts for keyboard, mouse, and joystick. Internally used to enable handling of joysticks or touch devices. The base classes contain key and mouse button enums.
 
 a|renderManager +
@@ -143,7 +144,8 @@ renderer +
 getRenderer();
 a|Low-level and high-level rendering interface. Mostly used internally.
 
-a|guiViewPort +getGuiViewPort()
+a|guiViewPort +
+getGuiViewPort()
 a|The view object for the orthogonal +++<abbr title="Graphical User Interface">GUI</abbr>+++ view. Only used internally for <<jme3/advanced/hud#,HUD>>s. 
 
 a|timer
@@ -164,7 +166,7 @@ The com.jme3.app.SimpleApplication class extends the generic com.jme3.app.Applic
 *  Useful default input mappings (details below.) 
 
 Additional to the functionality that Application brings, SimpleApplication offers the following methods and fields that can be used, for example, inside the `simpleInitApp()` method:
-[cols="2", options="header"]
+[cols="25,75", options="header"]
 |===
 
 a|SimpleApplication Class Field
@@ -183,7 +185,7 @@ getFlyByCamera()
 a|The default first-person fly-by camera control. This default camera control lets you navigate the 3D scene using the preconfigured WASD and arrow keys and the mouse.
 
 |===
-[cols="2", options="header"]
+[cols="25,75", options="header"]
 |===
 
 a|SimpleApplication Method