/// <summary> /// 해당하는 데이터를 자신에게 복사해 넣습니다. /// </summary> /// <param name="data">복사되어서 넣어질 테이터</param> public void CopyFrom(SettingsData data) { this.bgmVolume = data.bgmVolume; this.sfxVolume = data.sfxVolume; this.brightness = data.brightness; this.resolution = data.resolution; }
/// <summary> /// 디폴트 생성자. 기본값이 들어갑니다~~ /// </summary> public SettingsData() //생성자? { sfxVolume = "0.5"; bgmVolume = "0.5"; brightness = "0.5"; resolution = eResolutionData.HD; }
/// <summary> /// 해당하는 데이터를 자신에게 복사해 넣습니다. /// </summary> /// <param name="data">복사되어서 넣어질 테이터</param> public void CopyFrom(Data_Settings data) { this.isFullScreenMode = data.isFullScreenMode; this.masterVolume = data.masterVolume; this.bgmVolume = data.bgmVolume; this.sfxVolume = data.sfxVolume; this.muteMasterVolume = data.muteMasterVolume; this.muteBgmVolume = data.muteBgmVolume; this.muteSfxVolume = data.muteSfxVolume; this.brightness = data.brightness; this.resolution = data.resolution; }
/// <summary> /// 디폴트 생성자. 기본값이 들어갑니다~~ /// </summary> public Data_Settings() //생성자? { isFullScreenMode = true; muteMasterVolume = false; muteBgmVolume = false; muteSfxVolume = false; masterVolume = "0.7"; sfxVolume = "0.5"; bgmVolume = "0.5"; brightness = "0.5"; resolution = eResolutionData.HD; }