1 #ifndef BLANK_APP_ASSETS_HPP_
2 #define BLANK_APP_ASSETS_HPP_
4 #include "../graphics/Font.hpp"
12 class BlockTypeRegistry;
23 explicit AssetLoader(const std::string &base);
26 const std::string &set_name,
30 const ShapeRegistry &) const;
31 CubeMap LoadCubeMap(const std::string &name) const;
32 Font LoadFont(const std::string &name, int size) const;
34 const std::string &set_name,
37 const ShapeRegistry &) const;
38 void LoadShapes(const std::string &set_name, ShapeRegistry &) const;
39 Sound LoadSound(const std::string &name) const;
40 Texture LoadTexture(const std::string &name) const;
41 void LoadTexture(const std::string &name, ArrayTexture &, int layer) const;
42 void LoadTextures(const ResourceIndex &, ArrayTexture &) const;
57 explicit Assets(const AssetLoader &);