Skip to content
Benedikt S. Vogler edited this page Mar 12, 2019 · 7 revisions

Wurfel Engine is split in several pakets.

UML Dass diagram

A UML diagram showing the most important classes: UML Dass diagram The latest version of this UML diagram is included in the root folder of the wurfel engine SDK.

The engine uses some sort of MVC. The data is managed in a "Controller" class while the input/output handling is managed in the view. The view i.e. adds a camera, minimap, GUI etc. and reacts to input.

In the source code, you will often find dependency injections in the constructors. The classes reference each other before initializing. In most cases, the methods called ‘init` are the "real constructors".

If you just want to use some classes of the engine without running a game, the engine must still be launched. The classes expect libGDX to be initialized. The headless mode can be used to have no window.

Clone this wiki locally