eliminate LoadFromStaticGraphic

This commit is contained in:
Glenn Maynard
2005-01-15 20:48:20 +00:00
parent 594587607c
commit 635d5e43e2
5 changed files with 13 additions and 32 deletions
-9
View File
@@ -29,15 +29,6 @@ void BGAnimation::Unload()
DeleteAllChildren();
}
void BGAnimation::LoadFromStaticGraphic( const CString &sPath )
{
Unload();
BGAnimationLayer* pLayer = new BGAnimationLayer( m_bGeneric );
pLayer->LoadFromStaticGraphic( sPath );
AddChild( pLayer );
}
static bool CompareLayerNames( const CString& s1, const CString& s2 )
{
int i1, i2;