merge PlayCommand2 and PlayCommand so that Actor derivities only have to override one method to get the correct behavior

This commit is contained in:
Chris Danford
2005-06-12 00:35:08 +00:00
parent f7c6023412
commit 623dc2512f
16 changed files with 51 additions and 94 deletions
+2 -2
View File
@@ -41,11 +41,11 @@ void ScoreDisplayAliveTime::Update( float fDelta )
BitmapText::Update( fDelta );
}
void ScoreDisplayAliveTime::PlayCommand( const CString &sCommandName )
void ScoreDisplayAliveTime::PlayCommand( const CString &sCommandName, Actor* pParent )
{
// TODO: Add handling of GoalComplete message
BitmapText::PlayCommand( sCommandName );
BitmapText::PlayCommand( sCommandName, pParent );
}
void ScoreDisplayAliveTime::UpdateNumber()