#include "global.h" /* ----------------------------------------------------------------------------- Class: GhostArrow Desc: See header. Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved. Ben Nordstrom Chris Danford ----------------------------------------------------------------------------- */ #include "GhostArrow.h" #include "NoteSkinManager.h" #include "GameState.h" #include "NoteSkinManager.h" GhostArrow::GhostArrow() { for( int i=0; iAddChild( &m_spr[i] ); } } void GhostArrow::Load( CString sNoteSkin, CString sButton, CString sElement, bool bLoadJustOne ) { 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 ); } } void GhostArrow::Init( PlayerNumber pn ) { m_PlayerNumber = pn; for( int i=0; iGetMetric(GAMESTATE->m_PlayerOptions[pn].m_sNoteSkin,m_sName,sCommand); } } void GhostArrow::Update( float fDeltaTime ) { ActorFrame::Update( fDeltaTime ); } void GhostArrow::Step( TapNoteScore score ) { for( int i=0; i