FIFE
2008.0
|
#include <resource.h>
Public Member Functions | |
virtual const ResourceLocation & | getResourceLocation ()=0 |
virtual void | setResourceLocation (const ResourceLocation &location)=0 |
virtual int | getPoolId ()=0 |
![]() | |
virtual void | addRef ()=0 |
virtual void | decRef ()=0 |
virtual unsigned int | getRefCount ()=0 |
IResource is the internal representation of a loaded file. One resource is always associated with one file (resource location).
Definition at line 63 of file resource.h.
|
pure virtual |
returns -1 if not pooled, otherwise its a valid id
Implemented in FIFE::ResourceClass.
|
pure virtual |
Get the location/file of this resource.
Implemented in FIFE::ResourceClass.
|
pure virtual |
Change the location/file of this resource.
Implemented in FIFE::ResourceClass.