Split percentage display into its own actor.

This commit is contained in:
Glenn Maynard
2003-10-04 08:20:37 +00:00
parent 2b6a2fb6e7
commit df4ef03114
2 changed files with 92 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#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 );
private:
PlayerNumber m_PlayerNumber;
int m_Last;
BitmapText m_textPercent;
};
#endif
/*
* Copyright (c) 2001-2003 by the person(s) listed below. All rights reserved.
* Chris Danford
*/