remove BGAnimation::Unload

This commit is contained in:
Glenn Maynard
2005-08-31 22:03:40 +00:00
parent 983d973739
commit 0365a08767
2 changed files with 1 additions and 8 deletions
+1 -6
View File
@@ -16,11 +16,6 @@ BGAnimation::BGAnimation()
}
BGAnimation::~BGAnimation()
{
Unload();
}
void BGAnimation::Unload()
{
DeleteAllChildren();
}
@@ -106,7 +101,7 @@ void BGAnimation::AddLayersFromAniDir( const CString &_sAniDir, const IniFile& i
void BGAnimation::LoadFromAniDir( const CString &_sAniDir, bool bGeneric )
{
Unload();
DeleteAllChildren();
if( _sAniDir.empty() )
return;
-2
View File
@@ -16,8 +16,6 @@ public:
BGAnimation();
virtual ~BGAnimation();
void Unload();
void LoadFromAniDir( const CString &sAniDir, bool bGeneric=true );
void LoadFromNode( const CString& sDir, const XNode* pNode );
virtual Actor *Copy() const;