8 #ifndef ASSETMANAGER_HPP_
9 #define ASSETMANAGER_HPP_
13 #include <unordered_map>
45 Asset at(std::string
const &index)
const;
61 void saveAssets(std::string
const &filepath);
63 std::unordered_map<std::string, Asset> _assets;
~AssetManager()
Destroy the Asset Manager object.
Definition: AssetManager.hpp:37
void loadAssets(std::string const &filepath)
Load all assets from a config file.
Definition: AssetManager.cpp:26
Class to store all Assets.
Definition: AssetManager.hpp:20
Asset at(std::string const &index) const
Get the Asset at index sent as param.
Definition: AssetManager.cpp:21
Class containing all elements of an Asset.
Definition: Asset.hpp:21
AssetManager()
Construct a new Asset Manager object.
Definition: AssetManager.hpp:32