[MusicWheelItem] Added metric commands to NormalPart/ColorPart.

This commit is contained in:
AJ Kelly
2010-12-17 14:12:13 -06:00
parent bcf16846b5
commit beb793267b
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -16,6 +16,7 @@ sm-ssc v1.2 | 201012xx
20101217
--------
* [Sprite] Added SetAllStateDelays(fDelay) Lua binding. [freem]
* [MusicWheelItem] Added metric commands to NormalPart/ColorPart. [freem]
20101215
--------
+2
View File
@@ -50,10 +50,12 @@ MusicWheelItem::MusicWheelItem( RString sType ):
{
m_sprColorPart[i].Load( THEME->GetPathG(sType,MusicWheelItemTypeToString(i)+" ColorPart") );
m_sprColorPart[i]->SetName( MusicWheelItemTypeToString(i)+"ColorPart" );
ActorUtil::LoadAllCommands(m_sprColorPart[i],"MusicWheelItem");
this->AddChild( m_sprColorPart[i] );
m_sprNormalPart[i].Load( THEME->GetPathG(sType,MusicWheelItemTypeToString(i)+" NormalPart") );
m_sprNormalPart[i]->SetName( MusicWheelItemTypeToString(i)+"NormalPart" );
ActorUtil::LoadAllCommands(m_sprNormalPart[i],"MusicWheelItem");
this->AddChild( m_sprNormalPart[i] );
}