Пример #1
0
 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()));
   }
 }
Пример #2
0
 void clearTextFieldListener(Model model) {
   model.removeListener(frame, textfieldListener);
 }