22 #ifndef FIFE_IMAPLOADER_H_ 23 #define FIFE_IMAPLOADER_H_ 65 virtual bool isLoadable(
const std::string& filename)
const = 0;
70 virtual Map*
load(
const std::string& filename) = 0;
virtual void setAnimationLoader(const FIFE::AnimationLoaderPtr &animationLoader)=0
allows setting which animation loader will be used to load animation files
virtual void setAtlasLoader(const FIFE::AtlasLoaderPtr &atlasLoader)=0
allows setting which atlas loader will be used to load atlas files
virtual void setObjectLoader(const FIFE::ObjectLoaderPtr &objectLoader)=0
allows setting which object loader will be used to load object files
virtual bool isLoadable(const std::string &filename) const =0
determines whether the resource is in the correct format for this loader
Interface class that all map loaders should derive from.
virtual Map * load(const std::string &filename)=0
responsible for loading the map resource and populating the engine