FIFE  6e1afdbeda11afe9ac53e6023a4be96ef88f1dc6
FIFE::IAnimationLoader Class Referenceabstract

#include <ianimationloader.h>

+ Inheritance diagram for FIFE::IAnimationLoader:
+ Collaboration diagram for FIFE::IAnimationLoader:

Public Member Functions

virtual ~IAnimationLoader ()
 
virtual bool isLoadable (const std::string &filename)=0
 determines whether the resource is in the correct format for this loader More...
 
virtual AnimationPtr load (const std::string &filename)=0
 responsible for loading the animation returns a shared pointer to an animation resource More...
 
virtual std::vector< AnimationPtrloadMultiple (const std::string &filename)=0
 responsible for loading all animations returns a vector of shared pointer to an animation resource More...
 

Detailed Description

Definition at line 37 of file ianimationloader.h.

Constructor & Destructor Documentation

virtual FIFE::IAnimationLoader::~IAnimationLoader ( )
inlinevirtual

Definition at line 39 of file ianimationloader.h.

References isLoadable(), load(), and loadMultiple().

Member Function Documentation

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

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

Implemented in FIFE::AnimationLoader.

Referenced by FIFE::ObjectLoader::load(), FIFE::ObjectLoader::loadImportFile(), FIFE::MapLoader::loadImportFile(), and ~IAnimationLoader().

+ Here is the caller graph for this function:

virtual AnimationPtr FIFE::IAnimationLoader::load ( const std::string &  filename)
pure virtual

responsible for loading the animation returns a shared pointer to an animation resource

Implemented in FIFE::AnimationLoader.

Referenced by FIFE::ObjectLoader::load(), and ~IAnimationLoader().

+ Here is the caller graph for this function:

virtual std::vector<AnimationPtr> FIFE::IAnimationLoader::loadMultiple ( const std::string &  filename)
pure virtual

responsible for loading all animations returns a vector of shared pointer to an animation resource

Implemented in FIFE::AnimationLoader.

Referenced by FIFE::ObjectLoader::loadImportFile(), FIFE::MapLoader::loadImportFile(), and ~IAnimationLoader().

+ Here is the caller graph for this function:


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