FIFE  2008.0
FIFE::IObjectLoader Class Referenceabstract

#include <iobjectloader.h>

Inherited by FIFE::ObjectLoader.

Collaboration diagram for FIFE::IObjectLoader:
Collaboration graph

Public Member Functions

virtual void setAnimationLoader (const AnimationLoaderPtr &animationLoader)=0
 
virtual bool isLoadable (const std::string &filename) const =0
 
virtual void load (const std::string &filename)=0
 

Detailed Description

Interface class that all object loaders should derive from

Definition at line 42 of file iobjectloader.h.

Member Function Documentation

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

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

virtual void FIFE::IObjectLoader::load ( const std::string &  filename)
pure virtual

responsible for loading the object resource and populating the engine

virtual void FIFE::IObjectLoader::setAnimationLoader ( const AnimationLoaderPtr animationLoader)
pure virtual

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


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