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,
29 const ShapeRegistry &) const;
30 CubeMap LoadCubeMap(const std::string &name) const;
31 Font LoadFont(const std::string &name, int size) const;
33 const std::string &set_name,
36 const ShapeRegistry &) const;
37 void LoadShapes(const std::string &set_name, ShapeRegistry &) const;
38 Sound LoadSound(const std::string &name) const;
39 Texture LoadTexture(const std::string &name) const;
40 void LoadTexture(const std::string &name, ArrayTexture &, int layer) const;
41 void LoadTextures(const TextureIndex &, ArrayTexture &) const;
56 Assets(const AssetLoader &);