Ejemplo n.º 1
0
 public void saveScene(String saveName, Map<String, Object> scene) {
   if (saveName.equalsIgnoreCase("DELETE")) {
     deleteSavedType("Scene_");
     return;
   }
   Scene o = new Scene(scene);
   o.saveName = lastScene = "Scene_" + saveName;
   saved.put(o.saveName, o);
 }
Ejemplo n.º 2
0
 public boolean restoreScene(String saveName, float timeSeconds) {
   Scene o = (Scene) getNoCase(saved, (saveName.length() > 0 ? "Scene_" + saveName : lastScene));
   return (o != null && o.restore(vwr, timeSeconds));
 }