Files
itgmania212121/stepmania/src/ScoreDisplayNormal.h
T
2002-11-16 08:07:38 +00:00

39 lines
887 B
C++

#ifndef SCOREDISPLAYNORMAL_H
#define SCOREDISPLAYNORMAL_H
/*
-----------------------------------------------------------------------------
Class: ScoreDisplayNormal
Desc: Shows point score during gameplay and used in some menus.
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
Chris Danford
-----------------------------------------------------------------------------
*/
#include "ScoreDisplay.h"
const int NUM_SCORE_DIGITS = 9;
class ScoreDisplayNormal : public ScoreDisplay
{
public:
ScoreDisplayNormal();
virtual void Init( PlayerNumber pn );
virtual void Update( float fDeltaTime );
virtual void Draw();
virtual void SetScore( float fNewScore );
protected:
float m_fScore; // the actual score
float m_fTrailingScore; // what is displayed temporarily
float m_fScoreVelocity; // how fast trailing approaches real score
};
#endif