1 #ifndef BLANK_APP_ASSETS_HPP_
2 #define BLANK_APP_ASSETS_HPP_
4 #include "../graphics/Font.hpp"
12 class BlockTypeRegistry;
22 explicit AssetLoader(const std::string &base);
25 const std::string &set_name,
28 const ShapeRegistry &) const;
29 CubeMap LoadCubeMap(const std::string &name) const;
30 Font LoadFont(const std::string &name, int size) const;
31 void LoadShapes(const std::string &set_name, ShapeRegistry &) const;
32 Sound LoadSound(const std::string &name) const;
33 Texture LoadTexture(const std::string &name) const;
34 void LoadTexture(const std::string &name, ArrayTexture &, int layer) const;
35 void LoadTextures(const TextureIndex &, ArrayTexture &) const;
50 Assets(const AssetLoader &);