Eliminate BGAnimation::LoadFromMovie and BGAnimationLayer::LoadFromMovie.

This commit is contained in:
Glenn Maynard
2005-01-15 20:37:46 +00:00
parent 66d39dd65c
commit 594587607c
5 changed files with 16 additions and 36 deletions
-9
View File
@@ -178,15 +178,6 @@ void BGAnimation::LoadFromAniDir( const CString &_sAniDir )
}
}
void BGAnimation::LoadFromMovie( const CString &sMoviePath )
{
Unload();
BGAnimationLayer* pLayer = new BGAnimationLayer( m_bGeneric );
pLayer->LoadFromMovie( sMoviePath );
AddChild( pLayer );
}
void BGAnimation::LoadFromNode( const CString &sDir, const XNode& node )
{
DEBUG_ASSERT( node.m_sName == "BGAnimation" );