FIFE  be64c707dea6b3250bd4355bf5c825d25920087d
FIFE::AnimationLoader Class Reference

#include <animationloader.h>

+ Inheritance diagram for FIFE::AnimationLoader:
+ Collaboration diagram for FIFE::AnimationLoader:

Public Member Functions

 AnimationLoader (VFS *vfs, ImageManager *imageManager, AnimationManager *animationManager)
 
virtual bool isLoadable (const std::string &filename)
 
virtual AnimationPtr load (const std::string &filename)
 
virtual std::vector< AnimationPtrloadMultiple (const std::string &filename)
 
- Public Member Functions inherited from FIFE::IAnimationLoader
virtual ~IAnimationLoader ()
 

Private Member Functions

AnimationPtr loadAnimation (const std::string &filename, TiXmlElement *animationElem)
 

Private Attributes

VFSm_vfs
 
ImageManagerm_imageManager
 
AnimationManagerm_animationManager
 

Detailed Description

Definition at line 46 of file animationloader.h.

Constructor & Destructor Documentation

◆ AnimationLoader()

FIFE::AnimationLoader::AnimationLoader ( VFS vfs,
ImageManager imageManager,
AnimationManager animationManager 
)

Definition at line 51 of file animationloader.cpp.

Member Function Documentation

◆ isLoadable()

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

◆ load()

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

◆ loadAnimation()

◆ loadMultiple()

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

Member Data Documentation

◆ m_animationManager

AnimationManager* FIFE::AnimationLoader::m_animationManager
private

Definition at line 70 of file animationloader.h.

Referenced by loadAnimation().

◆ m_imageManager

ImageManager* FIFE::AnimationLoader::m_imageManager
private

Definition at line 69 of file animationloader.h.

Referenced by loadAnimation().

◆ m_vfs

VFS* FIFE::AnimationLoader::m_vfs
private

Definition at line 68 of file animationloader.h.

Referenced by isLoadable(), load(), and loadMultiple().


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