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