SoundService & SoundInstance
Basic implementation. More work needs to be done.
This commit is contained in:
16
src/include/DataModelV2/SoundService.h
Normal file
16
src/include/DataModelV2/SoundService.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
#include "Instance.h"
|
||||
#include "SoundInstance.h"
|
||||
|
||||
class SoundService :
|
||||
public Instance
|
||||
{
|
||||
public:
|
||||
SoundService(void);
|
||||
~SoundService(void);
|
||||
|
||||
float getMusicVolume();
|
||||
void playSound(SoundInstance* sound);
|
||||
private:
|
||||
float musicVolume;
|
||||
};
|
||||
Reference in New Issue
Block a user