RunCommandOnChildren

This commit is contained in:
Glenn Maynard
2004-01-11 07:12:13 +00:00
parent a4744d7aea
commit 0bdf0c2778
2 changed files with 8 additions and 2 deletions
+6 -2
View File
@@ -62,11 +62,15 @@ void ActorFrame::DrawPrimitives()
// Actor::DrawPrimitives();
// draw all sub-ActorFrames while we're in the ActorFrame's local coordinate space
for( unsigned i=0; i<m_SubActors.size(); i++ ) {
for( unsigned i=0; i<m_SubActors.size(); i++ )
m_SubActors[i]->Draw();
}
}
void ActorFrame::RunCommandOnChildren( const CString &cmd )
{
for( unsigned i=0; i<m_SubActors.size(); i++ )
m_SubActors[i]->Command( cmd );
}
void ActorFrame::Update( float fDeltaTime )
{