]> git.localhorst.tv Git - blank.git/blob - src/app/Assets.hpp
textures
[blank.git] / src / app / Assets.hpp
1 #ifndef BLANK_APP_ASSETS_HPP_
2 #define BLANK_APP_ASSETS_HPP_
3
4 #include <string>
5
6
7 namespace blank {
8
9 class ArrayTexture;
10 class Font;
11 class Sound;
12 class Texture;
13
14 class Assets {
15
16 public:
17         explicit Assets(const std::string &base);
18
19         Font LoadFont(const std::string &name, int size) const;
20         Sound LoadSound(const std::string &name) const;
21         Texture LoadTexture(const std::string &name) const;
22         void LoadTexture(const std::string &name, ArrayTexture &, int layer) const;
23
24 private:
25         std::string fonts;
26         std::string sounds;
27         std::string textures;
28
29 };
30
31 }
32
33 #endif