propagate ProcessMessages. There are still some cases where we're

handling children directly; as those come up, they'll either propagate this
message or (preferably) be converted to use AddChild and let ActorFrame
do the work.
This commit is contained in:
Glenn Maynard
2005-07-12 03:09:34 +00:00
parent 751f678a8a
commit ebbf4490bf
2 changed files with 13 additions and 0 deletions
+12
View File
@@ -228,6 +228,18 @@ void ActorFrame::UpdateInternal( float fDeltaTime )
}
}
void ActorFrame::ProcessMessages( float fDeltaTime )
{
Actor::ProcessMessages( fDeltaTime );
// update all sub-Actors
for( vector<Actor*>::iterator it=m_SubActors.begin(); it!=m_SubActors.end(); ++it )
{
Actor *pActor = *it;
pActor->ProcessMessages( fDeltaTime );
}
}
#define PropagateActorFrameCommand( cmd ) \
void ActorFrame::cmd() \
{ \