protected Shape(DrawApi implementor) { _implementor = implementor; }
public Rectangle(DrawApi implementor) : base(implementor) { }
public override void Draw() { DrawApi.DrawCircle(_x, _y, _radius); }
public Square(DrawApi implementor) : base(implementor) { }
public Line(DrawApi implementor) : base(implementor) { }
public override void Draw() => DrawApi.DrawCircle(_radius, _x, _y);
public Shape(DrawApi implementor) { _implementor = implementor; }
protected Shape(DrawApi drawApi) { this.drawApi = drawApi; }
public override void Draw() { DrawApi.DrawCircle(); }