#include <Animation.h>
Inheritance diagram for CAnimation:
Public Member Functions | |
virtual int | Animate (double fTimePerFrame) |
virtual int | Pause (double fPauseTime=INFINITE) |
virtual int | Resume (double fTimeToWait=0) |
virtual int | Stop () |
virtual void | Destroy () |
virtual int | LoadXML (TiXmlNode *pDataNode, CString strFilename) |
virtual int | SaveXML (TiXmlNode *pDataNode, CString strFilename) |
virtual bool | IsOfType (eEntityType eType) |
This class provides an interface for derived animation classes to use as well as loading/saving it in XML.
Definition at line 11 of file Animation.h.
|
Method details:
Reimplemented in CFrameAnimation< TAnimation >, CTextureFrameAnimation, and CFrameAnimation< tRect >. Definition at line 14 of file Animation.cpp. |
|
Method details: Clean-up method Reimplemented from CXMLResource.
Reimplemented in CFrameAnimation< TAnimation >, CTextureFrameAnimation, and CFrameAnimation< tRect >. Definition at line 69 of file Animation.cpp. References CXMLResource::Destroy(). Referenced by CFrameAnimation< tRect >::Destroy(). |
|
Method details: This is an implementation of Custom RTTI Reimplemented from CXMLResource.
Reimplemented in CFrameAnimation< TAnimation >, CTextureFrameAnimation, and CFrameAnimation< tRect >. Definition at line 74 of file Animation.cpp. References CXMLResource::IsOfType(). Referenced by CFrameAnimation< tRect >::IsOfType(). |
|
Method details:
Reimplemented from CXMLResource.
Reimplemented in CFrameAnimation< TAnimation >, CTextureFrameAnimation, and CFrameAnimation< tRect >. Definition at line 39 of file Animation.cpp. References TiXmlElement::Attribute(), CXMLResource::LoadXML(), and TiXmlNode::pcValue(). Referenced by CAnimationManager::LoadResource(), and CFrameAnimation< tRect >::LoadXML(). |
|
Method details:
Reimplemented in CFrameAnimation< TAnimation >, CTextureFrameAnimation, and CFrameAnimation< tRect >. Definition at line 20 of file Animation.cpp. |
|
Method details:
Reimplemented in CFrameAnimation< TAnimation >, CTextureFrameAnimation, and CFrameAnimation< tRect >. Definition at line 26 of file Animation.cpp. |
|
Method details:
Reimplemented from CXMLResource.
Reimplemented in CFrameAnimation< TAnimation >, CTextureFrameAnimation, and CFrameAnimation< tRect >. Definition at line 63 of file Animation.cpp. Referenced by CFrameAnimation< tRect >::SaveXML(), and CAnimationManager::SaveXML(). |
|
Method details:
Reimplemented in CFrameAnimation< TAnimation >, CTextureFrameAnimation, and CFrameAnimation< tRect >. Definition at line 32 of file Animation.cpp. |