aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Sound.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-05 14:20:45 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-05 14:20:45 +0200
commit202a9ec288ded78771e1f7e4c711a7612b201b9d (patch)
treeffb476db3ac57f9edafe3feee315bdf05088cbf2 /src/crepe/Sound.h
parentf4bb6d57cc88a7e25b3a5f43faafa49a7f500b7c (diff)
rename Resource to Asset
Diffstat (limited to 'src/crepe/Sound.h')
-rw-r--r--src/crepe/Sound.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crepe/Sound.h b/src/crepe/Sound.h
index ac93991..339dd7c 100644
--- a/src/crepe/Sound.h
+++ b/src/crepe/Sound.h
@@ -5,7 +5,7 @@
#include <memory>
-#include "api/Resource.h"
+#include "api/Asset.h"
namespace crepe {
@@ -66,10 +66,10 @@ public:
public:
Sound(const char * src);
- Sound(std::unique_ptr<api::Resource> res);
+ Sound(std::unique_ptr<api::Asset> res);
private:
- void load(std::unique_ptr<api::Resource> res);
+ void load(std::unique_ptr<api::Asset> res);
private:
SoLoud::Wav sample;