public void loadState() { SaveLoadStateObjects loadState = new SaveLoadStateObjects(this); loadState.load(); }
public void deleteAllSavedStates() { SaveLoadStateObjects deleteState = new SaveLoadStateObjects(this); deleteState.delete(); }
//Start of save, load or delete chosen objects. Refer to SaveLoadStateObjects class public void saveState() { SaveLoadStateObjects saveState = new SaveLoadStateObjects(this); saveState.save(); }