2002-11-16 08:07:38 +00:00
|
|
|
#ifndef GHOSTARROW_H
|
|
|
|
|
#define GHOSTARROW_H
|
2001-12-01 23:46:09 +00:00
|
|
|
/*
|
|
|
|
|
-----------------------------------------------------------------------------
|
2002-06-24 22:04:31 +00:00
|
|
|
Class: GhostArrow
|
2001-12-01 23:46:09 +00:00
|
|
|
|
2002-06-24 22:04:31 +00:00
|
|
|
Desc: The trail a note leaves when it is destroyed.
|
2001-12-01 23:46:09 +00:00
|
|
|
|
2002-06-24 22:04:31 +00:00
|
|
|
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
|
|
|
|
|
Ben Nordstrom
|
|
|
|
|
Chris Danford
|
2001-12-01 23:46:09 +00:00
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "Sprite.h"
|
2002-06-24 22:04:31 +00:00
|
|
|
#include "GameConstantsAndTypes.h"
|
2003-08-10 21:27:54 +00:00
|
|
|
#include "PlayerNumber.h"
|
2003-12-31 21:40:38 +00:00
|
|
|
#include "ActorFrame.h"
|
2001-12-01 23:46:09 +00:00
|
|
|
|
2003-12-31 21:40:38 +00:00
|
|
|
class GhostArrow : public ActorFrame
|
2001-12-01 23:46:09 +00:00
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
GhostArrow();
|
|
|
|
|
|
2003-12-31 21:40:38 +00:00
|
|
|
void Load( CString sNoteSkin, CString sButton, CString sFile, bool bLoadJustOne );
|
2003-08-10 21:27:54 +00:00
|
|
|
virtual void Init( PlayerNumber pn );
|
|
|
|
|
|
2002-02-24 01:43:11 +00:00
|
|
|
virtual void Update( float fDeltaTime );
|
|
|
|
|
|
2003-12-31 21:40:38 +00:00
|
|
|
void Step( TapNoteScore score );
|
2002-08-27 23:31:41 +00:00
|
|
|
|
|
|
|
|
protected:
|
2003-08-10 21:27:54 +00:00
|
|
|
PlayerNumber m_PlayerNumber;
|
2003-12-31 21:40:38 +00:00
|
|
|
Sprite m_spr[NUM_TAP_NOTE_SCORES];
|
2003-08-10 21:27:54 +00:00
|
|
|
CString m_sScoreCommand[NUM_TAP_NOTE_SCORES];
|
2001-12-01 23:46:09 +00:00
|
|
|
};
|
2002-06-23 11:43:53 +00:00
|
|
|
|
2002-11-16 08:07:38 +00:00
|
|
|
|
|
|
|
|
#endif
|