#include <TextureFrameAnimation.h>
Inheritance diagram for CTextureFrameAnimation:
Public Member Functions | |
int | Create (UINT FrameCount, UINT DataCount) |
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) |
void | SetTexture (UINT uiFrame, UINT uiTexIndex, CTexture *pTexture=NULL) |
void | SetFrameRect (UINT uiFrameIndex, tRect &Rect) |
CTexture * | GetTexture () |
virtual bool | IsOfType (eEntityType eType) |
Protected Member Functions | |
int | SaveFrame (TiXmlNode *pDataNode, UINT uiIndex) |
Protected Attributes | |
CTexture ** | m_pTextures |
This class is an implementation of the CFrameAnimation class that uses textures to provide means of animated texture(s).
Definition at line 13 of file TextureFrameAnimation.h.
|
Method details:
Reimplemented from CFrameAnimation< tRect >. Definition at line 35 of file TextureFrameAnimation.cpp. Referenced by CGUIButton::Draw(). |
|
Method details:
Reimplemented from CFrameAnimation< tRect >. Definition at line 20 of file TextureFrameAnimation.cpp. References CFrameAnimation< TAnimation >::Create(), and m_pTextures. Referenced by LoadXML(). |
|
Method details: Clean-up method Reimplemented from CFrameAnimation< tRect >. Definition at line 229 of file TextureFrameAnimation.cpp. References CFrameAnimation< TAnimation >::Destroy(). |
|
Method details:
References CFrameAnimation< tRect >::GetFrameIndex(), and m_pTextures. Referenced by CGUIButton::Draw(). |
|
Method details: This is an implementation of Custom RTTI Reimplemented from CFrameAnimation< tRect >. Definition at line 240 of file TextureFrameAnimation.cpp. References CFrameAnimation< TAnimation >::IsOfType(). |
|
Method details:
Reimplemented from CFrameAnimation< tRect >. Definition at line 66 of file TextureFrameAnimation.cpp. References TiXmlElement::Attribute(), Create(), TiXmlNode::FirstChild(), CSingleton< CTextureManager >::GetSingleton(), TiXmlNode::IterateChildren(), CTextureManager::LoadResource(), CFrameAnimation< TAnimation >::LoadXML(), m_pTextures, TiXmlNode::pcValue(), and TiXmlNode::ToElement(). |
|
Method details:
Reimplemented from CFrameAnimation< tRect >. Definition at line 41 of file TextureFrameAnimation.cpp. |
|
Method details:
Reimplemented from CFrameAnimation< tRect >. Definition at line 47 of file TextureFrameAnimation.cpp. |
|
Method details:
References CEntity::GetName(), m_pTextures, TiXmlElement::SetAttribute(), and TiXmlNode::ToElement(). Referenced by SaveXML(). |
|
Method details:
Reimplemented from CFrameAnimation< tRect >. Definition at line 142 of file TextureFrameAnimation.cpp. References CFrameAnimation< tRect >::GetLoopCount(), CEntity::GetName(), TiXmlNode::InsertEndChild(), TiXmlDocument::SaveFile(), SaveFrame(), TiXmlElement::SetAttribute(), and TiXmlNode::ToElement(). |
|
Method details:
|
|
Method details:
References m_pTextures. |
|
Method details:
Reimplemented from CFrameAnimation< tRect >. Definition at line 53 of file TextureFrameAnimation.cpp. |
|
An array of pointers to textures Definition at line 87 of file TextureFrameAnimation.h. Referenced by Create(), GetTexture(), LoadXML(), SaveFrame(), and SetTexture(). |