Add ActorFrame::DeleteChildrenWhenDone, to call DeleteAllChildren automatically.
Move movie GainFocus/LoseFocus handling to Sprite. Visualizations are part of Background, not BGAnimation; move them there. Remove BGAnimation::LoadFromVisualization and BGAnimationLayer::LoadFromVisualization.
This commit is contained in:
@@ -6,6 +6,13 @@
|
||||
ActorFrame::ActorFrame()
|
||||
{
|
||||
m_bPropagateCommands = false;
|
||||
m_bDeleteChildren = false;
|
||||
}
|
||||
|
||||
ActorFrame::~ActorFrame()
|
||||
{
|
||||
if( m_bDeleteChildren )
|
||||
DeleteAllChildren();
|
||||
}
|
||||
|
||||
void ActorFrame::AddChild( Actor* pActor )
|
||||
|
||||
Reference in New Issue
Block a user