Fixed dynamic asset loading.
This commit is contained in:
@ -15,6 +15,10 @@ void AssetManager::init() {
|
||||
|
||||
}
|
||||
|
||||
void AssetManager::update() {
|
||||
this->syncTick();
|
||||
}
|
||||
|
||||
void AssetManager::queueLoad(std::vector<Asset*> assets) {
|
||||
vectorAppend(&this->assetsToLoad, &assets);
|
||||
}
|
||||
|
@ -26,6 +26,11 @@ namespace Dawn {
|
||||
*/
|
||||
void init();
|
||||
|
||||
/**
|
||||
* Updates the asset manager.
|
||||
*/
|
||||
void update();
|
||||
|
||||
/**
|
||||
* Queue a loading of a list of assets. Does not actually begin loading.
|
||||
*
|
||||
|
Reference in New Issue
Block a user