package fileIO;

import java.io.Serializable;

import engine.MenuButton;
import utils.Stack;

/*  ------------- Nihilne ------------
    * Created by Mitch Weaver - 2016 *
      ~~~~ All Rights Reserved ~~~~ */

public final class SettingsSaveFile implements Serializable {
    private static final long serialVersionUID = 1337;

    /* In settings class: */
    // resizeableContextMenu
    // displayFPSContextMenu
    // showEnemyHealthContextMenu
    // resolutionContextMenu
    // fpsContextMenu

    /* ----------------- TODO: ------------------ */
    // 1: create constructor that copies the current settings. √
    // 2: call the constructor in Settings.createSettingsSaveFile √
    // 3: pass the created object into the Saving class
    // 4: use the Saving class method to serialize and store the object
    // 5: Later, on new Game load, read from said save file
    /* ------------------------------------------ */

    public volatile Stack<MenuButton> mainButtons, resizeable, displayFPS, healthBars, resolution, fpsCap;
    public volatile boolean resizeableTF, displayFPSTF, showHealthTF;

    public SettingsSaveFile(Stack<MenuButton> mainButtons, Stack<MenuButton> resizeable, Stack<MenuButton> displayFPS,
    		Stack<MenuButton> healthBars, Stack<MenuButton> resolution, Stack<MenuButton> fpsCap, boolean resizeableTF, boolean displayFPSTF, boolean displayHealthTF) {
    	this.mainButtons = mainButtons;
    	this.resizeable = resizeable;
    	this.displayFPS = displayFPS;
    	this.healthBars = healthBars;
    	this.resolution = resolution;
		this.fpsCap = fpsCap;
	
		this.resizeableTF = resizeableTF;
		this.displayFPSTF = displayFPSTF;
		this.showHealthTF = showHealthTF;
    }

}
