aboutsummaryrefslogtreecommitdiff
path: root/src/gui/SettingsController.java
blob: 23b4f389e18a38ed4cfd44f5fc9fc6534427797e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package gui;
import org.json.simple.JSONObject;
import org.json.simple.JSONArray;
import java.util.Map;
import java.util.HashMap;
import java.io.FileWriter;

public class SettingsController 
{
	private int effectsVol;
	private int musicVol;
	private boolean fullscreen;
	
	public SettingsController()
	{
		readFile();
	}
	
	public void saveAndWrite(int newEffVol, int newMusVol, boolean isFull)
	{
		effectsVol = newEffVol;
		musicVol = newMusVol;
		fullscreen = isFull;
		
		
	}
	
	public void readFile()
	{
		
	}
	
}