Separated PlaySound into PlaySFX and PlayBGM.

This commit is contained in:
Stiffly
2014-05-28 22:06:26 +02:00
parent 1a043ab411
commit 1b2f930afa
13 changed files with 87 additions and 27 deletions
+18
View File
@@ -0,0 +1,18 @@
#ifndef Event_PlayBGM_h__
#define Event_PlayBGM_h__
#include "EventBroker.h"
#include "Entity.h"
namespace Events
{
struct PlayBGM : Event
{
std::string Resource;
bool Loop;
};
}
#endif // Event_PlayBGM_h__
@@ -1,5 +1,5 @@
#ifndef Event_PlaySound_h__
#define Event_PlaySound_h__
#ifndef Event_PlaySFX_h__
#define Event_PlaySFX_h__
#include "EventBroker.h"
#include "Entity.h"
@@ -7,7 +7,7 @@
namespace Events
{
struct PlaySound : Event
struct PlaySFX : Event
{
EntityID Emitter;
std::string Resource;
@@ -16,4 +16,4 @@ struct PlaySound : Event
}
#endif // Event_PlaySound_h__
#endif // Event_PlaySFX_h__