package com.habboi.tns;

import java.util.HashMap;
import java.util.Map;

public class GameConfig {

    private static GameConfig instance;

    public Map<String, Object> values = new HashMap<>();

    private GameConfig() {
        values.put("music_volume", (float)0.01f);
        values.put("sfx_volume", (float)0.01f);
    }

    public static GameConfig get() {
        if (instance == null) {
            instance = new GameConfig();
        }
        return instance;
    }

    public float getFloat(String key) {
        return (float)values.get(key);
    }
}

@@ -256,34 +256,34 @@
 lume%22, (float)0.
-01
+75
 f);%0A        valu
@@ -316,10 +316,10 @@
 t)0.
-01
+75
 f);%0A

raise sound