aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/Sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/facade/Sound.cpp')
-rw-r--r--src/crepe/facade/Sound.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/crepe/facade/Sound.cpp b/src/crepe/facade/Sound.cpp
new file mode 100644
index 0000000..b1e6463
--- /dev/null
+++ b/src/crepe/facade/Sound.cpp
@@ -0,0 +1,13 @@
+#include "../api/Asset.h"
+#include "../util/dbg.h"
+
+#include "Sound.h"
+
+using namespace crepe;
+using namespace std;
+
+Sound::Sound(const Asset & src, Mediator & mediator) : Resource(src, mediator) {
+ this->sample.load(src.get_path().c_str());
+ dbg_trace();
+}
+Sound::~Sound() { dbg_trace(); }