Added Component to bricks to emitt sound. Improved code for playing a sound

This commit is contained in:
Stiffly
2015-09-17 15:41:08 +02:00
parent 6671136a08
commit 4dd8ac8445
9 changed files with 55 additions and 5 deletions
+25
View File
@@ -0,0 +1,25 @@
//
// Created by Adam on 2015-09-17.
//
#ifndef COMPONENTS_CCOLLISIONSOUND_H__
#define COMPONENTS_CCOLLISIONSOUND_H__
#include "Core/Component.h"
namespace dd
{
namespace Components
{
struct CollisionSound : public Component
{
std::string filePath;
};
}
}
#endif