this.listener = listener;
this.files = new HeadlessFiles();
this.net = new HeadlessNet();
// the following elements are not applicable for headless applications
// they are only implemented as mock objects
this.graphics = new MockGraphics();
this.audio = new MockAudio();
this.input = new MockInput();
Gdx.app = this;
Gdx.files = files;