29 lines
547 B
C++
29 lines
547 B
C++
#ifndef PERCENTAGE_DISPLAY_H
|
|
#define PERCENTAGE_DISPLAY_H
|
|
|
|
#include "ActorFrame.h"
|
|
#include "PlayerNumber.h"
|
|
#include "BitmapText.h"
|
|
|
|
class PercentageDisplay: public ActorFrame
|
|
{
|
|
public:
|
|
PercentageDisplay();
|
|
void Load( PlayerNumber pn );
|
|
void Update( float fDeltaTime );
|
|
void TweenOffScreen();
|
|
|
|
private:
|
|
void Refresh();
|
|
PlayerNumber m_PlayerNumber;
|
|
int m_Last;
|
|
BitmapText m_textPercent;
|
|
BitmapText m_textPercentRemainder;
|
|
};
|
|
|
|
#endif
|
|
/*
|
|
* Copyright (c) 2001-2003 by the person(s) listed below. All rights reserved.
|
|
* Chris Danford
|
|
*/
|