// shape2.cpp // implement the member functions of the class Shape2 #include "shape2.h" void Shape2::Move(double X, double Y) { Xcenter = X; Ycenter = Y; } double Shape2::Xc() { return Xcenter; } double Shape2::Yc() { return Ycenter; } // end shape2.cpp