1 #ifndef BLANK_APP_ASSETS_HPP_
2 #define BLANK_APP_ASSETS_HPP_
4 #include "../graphics/Font.hpp"
12 class BlockTypeRegistry;
21 explicit AssetLoader(const std::string &base);
23 void LoadBlockTypes(const std::string &set_name, BlockTypeRegistry &, TextureIndex &) const;
24 CubeMap LoadCubeMap(const std::string &name) const;
25 Font LoadFont(const std::string &name, int size) const;
26 Sound LoadSound(const std::string &name) const;
27 Texture LoadTexture(const std::string &name) const;
28 void LoadTexture(const std::string &name, ArrayTexture &, int layer) const;
29 void LoadTextures(const TextureIndex &, ArrayTexture &) const;
44 Assets(const AssetLoader &);