Files
itgmania212121/stepmania/src/DifficultyMeter.h
T
2004-05-24 03:41:39 +00:00

49 lines
1.1 KiB
C++

#ifndef DifficultyMeter_H
#define DifficultyMeter_H
/*
-----------------------------------------------------------------------------
Class: DifficultyMeter
Desc: A meter represention of how hard Steps is.
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
Chris Danford
-----------------------------------------------------------------------------
*/
#include "BitmapText.h"
#include "PlayerNumber.h"
#include "ActorFrame.h"
#include "GameConstantsAndTypes.h"
#include "ActorUtil.h"
class Steps;
class Course;
class DifficultyMeter: public ActorFrame
{
public:
DifficultyMeter();
void Load();
void SetFromGameState( PlayerNumber pn );
void SetFromDifficulty( Difficulty dc );
void SetFromCourseDifficulty( CourseDifficulty cd );
void SetFromNotes( const Steps* pSteps );
void SetFromCourse( const Course* pCourse, PlayerNumber pn );
void Unset();
void SetMeter( int iMeter, Difficulty dc );
private:
void SetDifficulty( CString diff );
BitmapText m_textFeet;
CString m_CurDifficulty;
AutoActor m_Difficulty;
BitmapText m_textMeter;
};
#endif