Fixed OpenAL Clean-up device. Added playBGM-event.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#ifndef EVENTS_EPLAYBGM_H__
|
||||
#define EVENTS_EPLAYBGM_H__
|
||||
|
||||
#include "Core/EventBroker.h"
|
||||
|
||||
namespace dd
|
||||
{
|
||||
|
||||
namespace Events
|
||||
{
|
||||
|
||||
struct PlayBGM : public Event
|
||||
{
|
||||
std::string path;
|
||||
float volume = 1;
|
||||
//TODO: Rethink this
|
||||
bool SupportBGM;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user