22 #ifndef FIFE_OBJECT_LOADER_H_
23 #define FIFE_OBJECT_LOADER_H_
34 #include "util/base/sharedptr.h"
36 #include "iobjectloader.h"
37 #include "ianimationloader.h"
45 class ObjectLoader :
public IObjectLoader {
47 ObjectLoader(Model* model, VFS* vfs, ImageManager* imageManager,
const AnimationLoaderPtr& animationLoader=AnimationLoaderPtr());
54 virtual void setAnimationLoader(
const AnimationLoaderPtr& animationLoader);
59 virtual bool isLoadable(
const std::string& filename)
const;
64 virtual void load(
const std::string& filename);
69 ImageManager* m_imageManager;
70 AnimationLoaderPtr m_animationLoader;
credit to phoku for his NodeDisplay example which the visitor code is adapted from ( he coded the qua...