1 #ifndef BLOBS_APP_ASSETS_HPP_
2 #define BLOBS_APP_ASSETS_HPP_
4 #include "../graphics/ArrayTexture.hpp"
5 #include "../graphics/CreatureSkin.hpp"
6 #include "../graphics/PlanetSurface.hpp"
7 #include "../graphics/SunSurface.hpp"
8 #include "../world/Resource.hpp"
9 #include "../world/Set.hpp"
10 #include "../world/TileType.hpp"
21 std::string tile_path;
22 std::string skin_path;
25 world::Set<world::Resource> resources;
26 world::Set<world::TileType> tiles;
30 graphics::ArrayTexture tiles;
31 graphics::ArrayTexture skins;
35 graphics::PlanetSurface planet_surface;
36 graphics::SunSurface sun_surface;
37 graphics::CreatureSkin creature_skin;
43 Assets(const Assets &) = delete;
44 Assets &operator =(const Assets &) = delete;
46 Assets(Assets &&) = delete;
47 Assets &operator =(Assets &&) = delete;
49 void LoadTileTexture(const std::string &name, graphics::ArrayTexture &, int layer) const;
50 void LoadSkinTexture(const std::string &name, graphics::ArrayTexture &, int layer) const;