home *** CD-ROM | disk | FTP | other *** search
- // ---------- pointer.h
-
- #ifndef POINTER_H
- #define POINTER_H
-
- #include "theatrix.h"
-
- const int MAXSELS = 5;
-
- class Pointer : public Player {
- short int selection;
- short int ys[MAXSELS];
- short int sels;
- void on_up();
- void on_down();
- DECLARE_CUELIST
- public:
- Pointer(int s1, int s2, int s3 = 0, int s4 = 0, int s5 = 0);
- void update_position();
- int getselection()
- { return selection; }
- };
-
- #endif
-