SBSPSS/source/fx/fxnrgbar.h

28 lines
517 B
C
Raw Normal View History

2001-05-31 00:05:41 +02:00
/******************/
/*** Energy Bar ***/
/******************/
2001-05-30 22:58:48 +02:00
2001-05-31 00:05:41 +02:00
#ifndef __FX_FX_NRG_BAR_HEADER__
#define __FX_FX_NRG_BAR_HEADER__
2001-05-30 22:58:48 +02:00
#include "fx/fx.h"
/*****************************************************************************/
2001-05-31 00:05:41 +02:00
class CFXNRGBar : public CFX
2001-05-30 22:58:48 +02:00
{
public:
2001-07-04 20:19:13 +02:00
/*virtual*/ void init(DVECTOR const &Pos);
/*virtual*/ void think(int _frames);
/*virtual*/ void render();
2001-05-30 22:58:48 +02:00
2001-07-16 18:09:16 +02:00
void SetMax(int Max);
2001-05-31 00:05:41 +02:00
bool alwaysThink() {return(true);}
2001-05-30 22:58:48 +02:00
protected:
2001-05-31 00:05:41 +02:00
int MaxHealth;
2001-07-16 18:09:16 +02:00
int CurrentHealth;
2001-05-30 22:58:48 +02:00
};
#endif