#include "global.h" #include "GhostArrow.h" #include "NoteSkinManager.h" #include "RageUtil.h" GhostArrow::GhostArrow() { for( int i=0; iAddChild( &m_spr[i] ); } } void GhostArrow::Load( CString sNoteSkin, CString sButton, CString sElement ) { for( int i=0; iGetPathToFromNoteSkinAndButton(sNoteSkin, sButton, sFullElement, true); // optional if( sPath.empty() ) sPath = NOTESKIN->GetPathToFromNoteSkinAndButton(sNoteSkin, sButton, sElement); // not optional m_spr[i].Load( sPath ); } for( int i=0; iGetMetric( sNoteSkin, m_sName, sCommand ); } } void GhostArrow::Init( PlayerNumber pn ) { m_PlayerNumber = pn; } void GhostArrow::Step( TapNoteScore score ) { for( int i=0; i