Files
itgmania212121/stepmania/src/BeginnerHelper.h
T
2003-08-20 09:55:52 +00:00

49 lines
1.0 KiB
C++

#ifndef BEGINNERHELPER_H
#define BEGINNERHELPER_H
#include "ActorFrame.h"
#include "Model.h"
#include "Character.h"
#include "Sprite.h"
#include "PlayerNumber.h"
class BeginnerHelper : public ActorFrame
{
public:
static enum STEPTYPE
{
ST_LEFT=6,
ST_DOWN=3,
ST_UP=8,
ST_RIGHT=4,
ST_JUMPLR=10,
ST_JUMPUD=11
};
BeginnerHelper();
~BeginnerHelper();
ActorFrame m_afDancerSuite; // So we can easily rotate or whatever without disturbing the Background.
void FlashOnce();
void Initialize( int iDancePadType );
void SetFlash(CString sFilename, float fX, float fY);
void ShowStepCircle( int CSTEP );
void Step( int CSTEP );
void TurnFlashOff();
void TurnFlashOn();
void Update( float fDeltaTime );
virtual void DrawPrimitives();
protected:
Model m_mDancer[NUM_PLAYERS];
Model m_mDancePad;
Sprite m_sFlash;
Sprite m_sBackground;
Sprite m_sStepCircle[NUM_PLAYERS*2]; // Need two for each player during jumps
int iDancePadType; // 0=none, 1=single, 2=double || This entire class only uses 1 pad.
bool m_bFlashEnabled;
};
#endif