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