Пример #1
0
 public override void VisitCylinder(Cylinder cylinder)
 {
     count += cylinder.GetVectorCount();
 }
Пример #2
0
 public virtual void VisitCylinder(Cylinder cylinder) { }
Пример #3
0
 public override void VisitCylinder(Cylinder cylinder)
 {
     cylinder.Draw();
 }