public void saveAll(Model model) { projectAssets.toJsonPath(model.getGame(), ProjectAssets.GAME_FILE); projectAssets.toJsonPath(model.getProject(), ProjectAssets.PROJECT_FILE); for (Map.Entry<String, Scene> e : model.getScenes().entrySet()) { projectAssets.toJsonPath(e.getValue(), projectAssets.convertSceneNameToPath(e.getKey())); } }
void clearTextFieldListener(Model model) { model.removeListener(frame, textfieldListener); }