/** * @file Shape.cpp * @author sriram */ #include "pch.h" #include "Shape.h" /** * constructor */ Shape::Shape() { } void Shape::Draw(std::shared_ptr graphics,double x, double y) { mPolygon.DrawPolygon(graphics,x+GetComponentLocation().x,y+GetComponentLocation().y); } void Shape::Rectangle(int x, int y, int width, int height) { mPolygon.Rectangle(x,y,width,height); }