public void AsignShape(ShapeType type) { switch (type) { case ShapeType.Circle: shape = new Circle(x, y); break; case ShapeType.Cross: shape = new Cross(x, y); break; } }
public void DetachShape() { shape = null; }