improvements
This commit is contained in:
20
public/iassetmgr.h
Normal file
20
public/iassetmgr.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef ASSET_MGR_H
|
||||
#define ASSET_MGR_H
|
||||
|
||||
#include "tier0/platform.h"
|
||||
#include "tier2/iappsystem.h"
|
||||
|
||||
abstract_class IModel;
|
||||
abstract_class ITexture;
|
||||
abstract_class ISound;
|
||||
|
||||
abstract_class IAssetManager: public IAppSystem
|
||||
{
|
||||
public:
|
||||
virtual void Preload( const char *szName ) = 0;
|
||||
virtual ITexture *LoadTexture( const char *szName ) = 0;
|
||||
virtual IModel *LoadModel( const char *szName ) = 0;
|
||||
virtual ISound *LoadSound( const char *szName ) = 0;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user