15 #ifndef FPLBASE_ASSET_H
16 #define FPLBASE_ASSET_H
28 Asset() : refcount_(1) {}
42 int DecreaseRefCount() {
43 assert(refcount_ > 0);
52 #endif // FPLBASE_ASSET_H
void IncreaseRefCount()
indicate there is an additional owner of this asset. By default, when you call any of the UnLoad*() f...
Definition: asset.h:37
Central place to own game assets loaded from disk.
Definition: asset_manager.h:53
Base class of all assets that may be managed by Assetmanager.
Definition: asset.h:26