FIFE  be64c707dea6b3250bd4355bf5c825d25920087d
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

◆ ~IMapLoader()

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

Member Function Documentation

◆ isLoadable()

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:

◆ load()

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:

◆ setAnimationLoader()

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:

◆ setAtlasLoader()

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:

◆ setObjectLoader()

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: