Extending SimpleApplication

Although the class is called SimpleApplication, you base all your jMonkeyEngine games on this class, including very large projects. Don't think that only simple applications can be built with it; the name means that this class is already a simple application by itself. You make it non-simple by extending it. For example, you will override methods and modify the default properties, and add whatever your game requires.

When you look back on this chapter, you notice that we have already got a lot of default functionality just by extending com.jme3.app.SimpleApplication.

Even an application as simple as the BasicGame template already has access to the following features:

Class field or method

Description

rootNode

The ...

Get jMonkeyEngine 3.0 Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.