#ifndef COLORPOINT_H_ #define COLORPOINT_H_ #include ; #include "Point.h"; using namespace std; class ColorPoint : public Point { public: // Create a point object -- default is (0,0) if no params. ColorPoint(int xVal = 0, int yVal = 0, string color = 0.0); virtual ~ColorPoint(); // return the color of the point string getColor() const; // change color as part of moving virtual void ColorPoint::translate(int dx, int dy); // Convert a color point to a string. virtual string toString() const; private: string color; // instance vbles }; #endif /*COLORPOINT_H_*/