PathManager.getInstance().useDefaultHomePath();
}
Collection<EngineSubsystem> subsystemList;
if (isHeadless) {
subsystemList = Lists.newArrayList(new HeadlessGraphics(), new HeadlessTimer(), new HeadlessAudio(), new HeadlessInput());
} else {
subsystemList = Lists.<EngineSubsystem>newArrayList(new LwjglGraphics(), new LwjglTimer(), new LwjglAudio(), new LwjglInput());
}
final TerasologyEngine engine = new TerasologyEngine(subsystemList);