/** Loads the variables saved in saveSettings() to make this animation match how it was before */ protected void loadSettings(SectionSettings settings) { color = Saver.loadColor(settings.get("color"), this); }
/** * Saves the variables to a file so we can reconstruct this Animation object the next time we * restart the software */ protected void saveSettings(SectionSettings settings) { settings.put("color", Saver.saveColor(color)); }