diff --git a/engine/src/core/com/jme3/app/Application.java b/engine/src/core/com/jme3/app/Application.java index 6017a7baf..02690a466 100644 --- a/engine/src/core/com/jme3/app/Application.java +++ b/engine/src/core/com/jme3/app/Application.java @@ -59,8 +59,7 @@ import java.util.logging.Logger; * An Application provides all the tools that are commonly used in jME3 * applications. * - * jME3 applications should extend this class and call start() to begin the - * application. + * jME3 applications *SHOULD NOT EXTEND* this class but extend SimpleApplication instead. * */ public class Application implements SystemListener { diff --git a/engine/src/core/com/jme3/app/SimpleApplication.java b/engine/src/core/com/jme3/app/SimpleApplication.java index a3caef14c..3a746b32c 100644 --- a/engine/src/core/com/jme3/app/SimpleApplication.java +++ b/engine/src/core/com/jme3/app/SimpleApplication.java @@ -47,11 +47,9 @@ import com.jme3.system.JmeContext.Type; import com.jme3.system.JmeSystem; /** - * SimpleApplication extends the {@link com.jme3.app.Application} - * class to provide default functionality like a first-person camera, - * and an accessible root node that is updated and rendered regularly. - * Additionally, SimpleApplication will display a statistics view - * using the {@link com.jme3.app.StatsView} class. It will display + * SimpleApplication is the base class for all jME3 Applications. + * SimpleApplication will display a statistics view + * using the {@link com.jme3.app.StatsAppState} AppState. It will display * the current frames-per-second value on-screen in addition to the statistics. * Several keys have special functionality in SimpleApplication:
* @@ -60,6 +58,9 @@ import com.jme3.system.JmeSystem; * C- Display the camera position and rotation in the console. * M- Display memory usage in the console. * + * + * A {@link com.jme3.app.FlyCamAppState} is by default attached as well and can + * be removed by calling stateManager.detach( stateManager.getState(FlyCamAppState.class) ); */ public abstract class SimpleApplication extends Application {