#include <AnimationManager.h>
Inheritance diagram for CAnimationManager:
Public Member Functions | |
virtual CAnimation * | LoadResource (TiXmlNode *pDataNode, CString strFilename, UINT uiID=0, CString strName="") |
virtual CAnimation * | GetResource (int uiIndex, int uiID=-1, CString strName="", CString strFilename="") |
virtual CAnimation * | AddResource (CString strName, UINT uiID=0, eEntityType ResourceType=Entity_Default) |
int | RemoveResource (CAnimation *pAnimation) |
virtual int | LoadXML (TiXmlNode *pDataNode, CString strFilename) |
virtual int | SaveXML (TiXmlNode *pDataNode, CString strFilename) |
virtual void | Destroy () |
virtual bool | IsOfType (eEntityType eType) |
This class provides means to managing various animations. It manages a collection of animations (although not pooled yet!) and allow to retrieve them by index, name, ID or filename.
Definition at line 15 of file AnimationManager.h.
|
Method details:
Reimplemented from CResourceManager. Definition at line 98 of file AnimationManager.cpp. References CDoubleList< CXMLResource * >::push_back(), CEntity::SetID(), and CEntity::SetName(). |
|
Method details: This is where clean-up occurs Reimplemented from CResourceManager. Definition at line 248 of file AnimationManager.cpp. References CResourceManager::Destroy(). |
|
Method details:
Reimplemented from CResourceManager. Definition at line 193 of file AnimationManager.cpp. References CDoubleList< CXMLResource * >::at(), CDoubleList< CXMLResource * >::begin(), CXMLResource::GetFilename(), CEntity::GetID(), CEntity::GetName(), CDoubleList< CXMLResource * >::next(), CDoubleList< CXMLResource * >::set_ptr(), and CDoubleList< CXMLResource * >::size(). Referenced by LoadResource(), and CGUIButton::PropertyChanging(). |
|
Method details: This is an implementation of Custom RTTI Reimplemented from CResourceManager. Definition at line 253 of file AnimationManager.cpp. References CResourceManager::IsOfType(). |
|
Method details:
Implements CResourceManager. Definition at line 120 of file AnimationManager.cpp. References TiXmlElement::Attribute(), CEntity::GetID(), CEntity::GetName(), GetResource(), CAnimation::LoadXML(), TiXmlNode::pcValue(), CDoubleList< CXMLResource * >::push_back(), CEntity::SetID(), CEntity::SetName(), and TiXmlNode::ToElement(). Referenced by CGUIButton::LoadStateEvents(), and LoadXML(). |
|
Method details:
Reimplemented from CResourceManager. Definition at line 16 of file AnimationManager.cpp. References TiXmlNode::FirstChild(), CEntity::GetID(), CEntity::GetName(), CSingleton< CGlobalLogger >::GetSingleton(), TiXmlNode::IterateChildren(), LoadResource(), CResourceManager::LoadXML(), TiXmlNode::pcValue(), and CLogger::Write(). |
|
Method details:
|
|
Method details:
Reimplemented from CResourceManager. Definition at line 59 of file AnimationManager.cpp. References CDoubleList< CXMLResource * >::begin(), TiXmlNode::InsertEndChild(), CDoubleList< CXMLResource * >::next(), TiXmlDocument::SaveFile(), CAnimation::SaveXML(), CDoubleList< CXMLResource * >::set_ptr(), and TiXmlNode::ToElement(). |