home *** CD-ROM | disk | FTP | other *** search
- #include <theatrix.h>
-
-
- class Fighter;
-
- class LifeBar : public Performer
- {
- public:
- LifeBar(Director*,Fighter*,int);
- void initialize();
- void display();
- protected:
- DECLARE_CUELIST
- private:
- void update(int damage);
- void on_hit(int msg,int data);
- private:
- Fighter* fighter;
- int color;
- int side;
- int imageno;
- int x;
- };
-