FIFE
be64c707dea6b3250bd4355bf5c825d25920087d
|
Interface class that all object loaders should derive from. More...
#include <iobjectloader.h>
Public Member Functions | |
virtual | ~IObjectLoader () |
virtual void | setAnimationLoader (const AnimationLoaderPtr &animationLoader)=0 |
allows setting which animation loader will be used to load animation files More... | |
virtual AnimationLoaderPtr | getAnimationLoader ()=0 |
virtual void | setAtlasLoader (const AtlasLoaderPtr &atlasLoader)=0 |
allows setting which atlas loader will be used to load atlas files More... | |
virtual AtlasLoaderPtr | getAtlasLoader ()=0 |
virtual bool | isLoadable (const std::string &filename) const =0 |
determines whether the resource is in the correct format for this loader More... | |
virtual void | load (const std::string &filename)=0 |
responsible for loading the object resource and populating the engine More... | |
Interface class that all object loaders should derive from.
Definition at line 43 of file iobjectloader.h.
|
inlinevirtual |
Definition at line 45 of file iobjectloader.h.
References getAnimationLoader(), getAtlasLoader(), isLoadable(), load(), setAnimationLoader(), and setAtlasLoader().
|
pure virtual |
Implemented in FIFE::ObjectLoader.
Referenced by FIFE::MapLoader::getAnimationLoader(), FIFE::MapLoader::loadImportFile(), and ~IObjectLoader().
|
pure virtual |
Implemented in FIFE::ObjectLoader.
Referenced by FIFE::MapLoader::getAtlasLoader(), FIFE::MapLoader::loadImportFile(), and ~IObjectLoader().
|
pure virtual |
determines whether the resource is in the correct format for this loader
Implemented in FIFE::ObjectLoader.
Referenced by FIFE::MapLoader::loadImportFile(), and ~IObjectLoader().
|
pure virtual |
responsible for loading the object resource and populating the engine
Implemented in FIFE::ObjectLoader.
Referenced by FIFE::MapLoader::loadImportFile(), and ~IObjectLoader().
|
pure virtual |
allows setting which animation loader will be used to load animation files
Implemented in FIFE::ObjectLoader.
Referenced by FIFE::MapLoader::setAnimationLoader(), and ~IObjectLoader().
|
pure virtual |
allows setting which atlas loader will be used to load atlas files
Implemented in FIFE::ObjectLoader.
Referenced by FIFE::MapLoader::setAtlasLoader(), and ~IObjectLoader().