]> git.localhorst.tv Git - blank.git/blobdiff - src/app/Assets.hpp
configurable asset and save path
[blank.git] / src / app / Assets.hpp
index d9ab3d443592c0c491079069418caf8f4f5a5c74..6e1698a6fc94105d0893b2f1ee0259f80bf608dc 100644 (file)
@@ -6,7 +6,10 @@
 
 namespace blank {
 
+class ArrayTexture;
 class Font;
+class Sound;
+class Texture;
 
 class Assets {
 
@@ -14,9 +17,14 @@ public:
        explicit Assets(const std::string &base);
 
        Font LoadFont(const std::string &name, int size) const;
+       Sound LoadSound(const std::string &name) const;
+       Texture LoadTexture(const std::string &name) const;
+       void LoadTexture(const std::string &name, ArrayTexture &, int layer) const;
 
 private:
        std::string fonts;
+       std::string sounds;
+       std::string textures;
 
 };