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

◆ ~IAnimationLoader()

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

Definition at line 39 of file ianimationloader.h.

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

Member Function Documentation

◆ isLoadable()

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:

◆ load()

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:

◆ loadMultiple()

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: