// Character.h interface for the calss Character.h #ifndef CHARACTER_H #define CHARACTER_H #include "Cavern.h" class Character{ public: // return character x position int GetX(); // return character y position int GetY(); // sets character x position void SetX(int); // sets character y position void SetY(int); // draw the character void Draw(GP142Display &display); // redraws the box after being cleared void DrawOVER(GP142Display &display); // moves the character void MoveUp(); void MoveDown(); void MoveLeft(); void MoveRight(); private: int x; // character x position int y; // character y position }; #endif