AutoActor

This commit is contained in:
Glenn Maynard
2005-07-06 04:03:55 +00:00
parent c0f9b46d75
commit 18615b2a17
2 changed files with 8 additions and 5 deletions
+4 -3
View File
@@ -11,13 +11,14 @@ HoldGhostArrow::HoldGhostArrow()
void HoldGhostArrow::Load( const CString &sButton, const CString &sElement )
{
Sprite::Load( NOTESKIN->GetPath(sButton, sElement) ); // not optional
this->RunCommands( NOTESKIN->GetMetricA("HoldGhostArrow","OnCommand") );
m_sprGhost.Load( NOTESKIN->GetPath(sButton, sElement) ); // not optional
m_sprGhost->RunCommands( NOTESKIN->GetMetricA("HoldGhostArrow","OnCommand") );
this->AddChild( m_sprGhost );
}
void HoldGhostArrow::Update( float fDeltaTime )
{
Sprite::Update( fDeltaTime );
ActorFrame::Update( fDeltaTime );
m_bHoldIsActive = false;
}