Public Member Functions

FIFE::IMapLoader Class Reference

#include <imaploader.h>

Inherited by FIFE::MapLoader.

List of all members.

Public Member Functions

virtual void setObjectLoader (const FIFE::ObjectLoaderPtr &objectLoader)=0
virtual void setAnimationLoader (const FIFE::AnimationLoaderPtr &animationLoader)=0
virtual void setAtlasLoader (const FIFE::AtlasLoaderPtr &atlasLoader)=0
virtual bool isLoadable (const std::string &filename) const =0
virtual Mapload (const std::string &filename)=0

Detailed Description

Interface class that all map loaders should derive from

Definition at line 41 of file imaploader.h.


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

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

responsible for loading the map resource and populating the engine

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

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

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

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

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

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


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