32 explicit Asset(
const std::string& name);
virtual void load()
Call this method to load the asset.
const Event & getEvent() const
Returns the current status of the asset.
Definition Asset.hpp:48
virtual void unload()
Call this method to unload the asset.
Asset(const std::string &name)
This namespace contains all of the necessary engine components.
Definition Asset.hpp:5
int usage
Definition Asset.hpp:18
bool success
Definition Asset.hpp:17
bool success
Definition Asset.hpp:21
Asset * other
The pointer to the other asset this asset is waiting for.
Definition Asset.hpp:28
struct Engine::Assets::Asset::Event::Waiting waiting
struct Engine::Assets::Asset::Event::Unloaded unloaded
struct Engine::Assets::Asset::Event::Loaded loaded