Class to store all Assets.
More...
#include <AssetManager.hpp>
Class to store all Assets.
◆ AssetManager()
AssetManager::AssetManager |
( |
std::string const & |
assetsFile | ) |
|
Construct a new Asset Manager object.
- Parameters
-
assetsFile | File of all assets |
◆ at()
Asset AssetManager::at |
( |
std::string const & |
index | ) |
const |
Get the Asset at index sent as param.
- Parameters
-
index | Index of the Asset in map |
- Returns
- Asset Asset from the map
◆ loadAssets()
void AssetManager::loadAssets |
( |
std::string const & |
filepath | ) |
|
Load all assets from a config file.
- Parameters
-
filepath | Configuration file path containing data of all assets |
The documentation for this class was generated from the following files:
- /home/gurvan-le-letty/delivery/epitech_delivery/semester_5/B-CPP-500/B-CPP-500-PAR-5-1-rtype-martin.vanaud/Client/Source/Managers/AssetManager/AssetManager.hpp
- /home/gurvan-le-letty/delivery/epitech_delivery/semester_5/B-CPP-500/B-CPP-500-PAR-5-1-rtype-martin.vanaud/Client/Source/Managers/AssetManager/AssetManager.cpp