FIFE  6e1afdbeda11afe9ac53e6023a4be96ef88f1dc6
FIFE::IMapLoader Class Referenceabstract

Interface class that all map loaders should derive from. More...

#include <imaploader.h>

+ Inheritance diagram for FIFE::IMapLoader:
+ Collaboration diagram for FIFE::IMapLoader:

Public Member Functions

virtual ~IMapLoader ()
 
virtual void setObjectLoader (const FIFE::ObjectLoaderPtr &objectLoader)=0
 allows setting which object loader will be used to load object files More...
 
virtual void setAnimationLoader (const FIFE::AnimationLoaderPtr &animationLoader)=0
 allows setting which animation loader will be used to load animation files More...
 
virtual void setAtlasLoader (const FIFE::AtlasLoaderPtr &atlasLoader)=0
 allows setting which atlas loader will be used to load atlas files More...
 
virtual bool isLoadable (const std::string &filename) const =0
 determines whether the resource is in the correct format for this loader More...
 
virtual Mapload (const std::string &filename)=0
 responsible for loading the map resource and populating the engine More...
 

Detailed Description

Interface class that all map loaders should derive from.

Definition at line 43 of file imaploader.h.

Constructor & Destructor Documentation

virtual FIFE::IMapLoader::~IMapLoader ( )
inlinevirtual

Member Function Documentation

virtual bool FIFE::IMapLoader::isLoadable ( const std::string &  filename) const
pure virtual

determines whether the resource is in the correct format for this loader

Implemented in FIFE::MapLoader.

Referenced by ~IMapLoader().

+ Here is the caller graph for this function:

virtual Map* FIFE::IMapLoader::load ( const std::string &  filename)
pure virtual

responsible for loading the map resource and populating the engine

Implemented in FIFE::MapLoader.

Referenced by ~IMapLoader().

+ Here is the caller graph for this function:

virtual void FIFE::IMapLoader::setAnimationLoader ( const FIFE::AnimationLoaderPtr animationLoader)
pure virtual

allows setting which animation loader will be used to load animation files

Implemented in FIFE::MapLoader.

Referenced by ~IMapLoader().

+ Here is the caller graph for this function:

virtual void FIFE::IMapLoader::setAtlasLoader ( const FIFE::AtlasLoaderPtr atlasLoader)
pure virtual

allows setting which atlas loader will be used to load atlas files

Implemented in FIFE::MapLoader.

Referenced by ~IMapLoader().

+ Here is the caller graph for this function:

virtual void FIFE::IMapLoader::setObjectLoader ( const FIFE::ObjectLoaderPtr objectLoader)
pure virtual

allows setting which object loader will be used to load object files

Implemented in FIFE::MapLoader.

Referenced by ~IMapLoader().

+ Here is the caller graph for this function:


The documentation for this class was generated from the following file: