Main Page | Class Hierarchy | Class List | File List | Class Members | Related Pages

D:/Programming/GUI Editor (Source)/AnimationManager.h

00001 #ifndef ANIMATIONMANAGER_H 00002 #define ANIMATIONMANAGER_H 00003 00004 #pragma once 00005 00006 #include "ResourceManager.h" 00007 #include "TextureFrameAnimation.h" 00008 00010 00015 class CAnimationManager : public CResourceManager, public CSingleton<CAnimationManager> 00016 { 00017 public: 00018 CAnimationManager(); 00019 virtual ~CAnimationManager(); 00020 00021 public: 00030 virtual CAnimation *LoadResource(TiXmlNode *pDataNode, CString strFilename, UINT uiID = 0, CString strName = ""); 00039 virtual CAnimation *GetResource(int uiIndex, int uiID = -1, CString strName = "", CString strFilename = ""); 00047 virtual CAnimation *AddResource(CString strName, UINT uiID = 0, eEntityType ResourceType = Entity_Default); 00053 int RemoveResource(CAnimation *pAnimation); 00054 00060 virtual int LoadXML(TiXmlNode *pDataNode, CString strFilename); 00066 virtual int SaveXML(TiXmlNode *pDataNode, CString strFilename); 00071 virtual void Destroy(); 00076 virtual bool IsOfType(eEntityType eType); 00077 }; 00078 00079 #endif

Generated on Sun Jul 17 21:34:26 2005 for OpenGL GUI by doxygen 1.3.8