use of com.almasb.fxgl.settings.GameSettings in project FXGL by AlmasB.
the class GameApplication method initAppSettings.
/**
* Take app settings from user.
*/
private void initAppSettings() {
GameSettings localSettings = new GameSettings();
initSettings(localSettings);
settings = localSettings.toReadOnly();
}
use of com.almasb.fxgl.settings.GameSettings in project FXGL by AlmasB.
the class MockGameApplication method get.
public static MockGameApplication get() {
if (INSTANCE == null) {
mockStage();
GameSettings settings = new GameSettings();
MockGameApplication app = new MockGameApplication();
app.initSettings(settings);
app.injectSettings(settings.toReadOnly());
INSTANCE = app;
}
return INSTANCE;
}
Aggregations