FIFE
2008.0
|
#include <resourceclass.h>
Public Member Functions | |
const ResourceLocation & | getResourceLocation () |
virtual void | setResourceLocation (const ResourceLocation &location) |
int | getPoolId () |
![]() | |
fifeid_t | getFifeId () |
virtual void | addRef () |
virtual void | decRef () |
virtual unsigned int | getRefCount () |
![]() | |
virtual void | addRef ()=0 |
virtual void | decRef ()=0 |
virtual unsigned int | getRefCount ()=0 |
Base class for classes that are loadable from resources
Definition at line 42 of file resourceclass.h.
|
inlinevirtual |
returns -1 if not pooled, otherwise its a valid id
Implements FIFE::IResource.
Definition at line 53 of file resourceclass.h.
|
virtual |
Get the location/file of this resource.
Implements FIFE::IResource.
Definition at line 46 of file resourceclass.cpp.
|
virtual |
Change the location/file of this resource.
Implements FIFE::IResource.
Definition at line 57 of file resourceclass.cpp.
References FIFE::ResourceLocation::clone().