package org.citra.emu.settings.model;

public final class StringSetting extends Setting {
    private String mValue;

    public StringSetting(String key, String section, String value) {
        super(key, section);
        mValue = value;
    }

    public String getValue() {
        return mValue;
    }

    public void setValue(String value) {
        mValue = value;
    }

    @Override
    public String getValueAsString() {
        return mValue == null ? "" : mValue;
    }
}
