Engine::Assets::Asset Class Reference Module: An example game engine / Generic assets
#include <Asset.hpp>
Name | |
---|---|
union | Event |
Name | |
---|---|
Asset(const std::string & name) | |
virtual | ~Asset() =0 |
virtual void | load()Call this method to load the asset. |
virtual void | unload()Call this method to unload the asset. |
const Event & | getEvent() constReturns the current status of the asset. |
explicit Asset(
const std::string & name
)
virtual ~Asset() =0
virtual void load()
Call this method to load the asset.
virtual void unload()
Call this method to unload the asset.
inline const Event & getEvent() const
Returns the current status of the asset.
Use this to determine the state, for example if the assets is being loaded or unloaded.
Updated on 2022-10-19 at 22:22:02 +0000