You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
472 B
C++
27 lines
472 B
C++
#ifndef GAME_SOUND_VOLUMESETTINGS_H
|
|
#define GAME_SOUND_VOLUMESETTINGS_H
|
|
|
|
#include "type.hpp"
|
|
|
|
namespace MWSound
|
|
{
|
|
class VolumeSettings
|
|
{
|
|
public:
|
|
VolumeSettings();
|
|
|
|
float getVolumeFromType(Type type) const;
|
|
|
|
void update();
|
|
|
|
private:
|
|
float mMasterVolume;
|
|
float mSFXVolume;
|
|
float mMusicVolume;
|
|
float mVoiceVolume;
|
|
float mFootstepsVolume;
|
|
};
|
|
}
|
|
|
|
#endif
|