Пример #1
0
		// Sphere類別呼叫用
		public override void VisitSphere(Sphere theSphere)
		{
			Count += theSphere.GetVectorCount();
		}
Пример #2
0
		// Sphere類別呼叫用
		public virtual void VisitSphere(Sphere theSphere)
		{}
Пример #3
0
		// Sphere類別呼叫用
		public override void VisitSphere(Sphere theSphere)
		{
			theSphere.Draw();
		}
Пример #4
0
		// Sphere類別呼叫用
		public override void VisitSphere(Sphere theSphere)
		{
			Volume += theSphere.GetVolume();
		}
 // Sphere类别呼叫用
 public override void VisitSphere(Sphere theSphere)
 {
     Count += theSphere.GetVectorCount();
 }
 // Sphere类别呼叫用
 public override void VisitSphere(Sphere theSphere)
 {
     theSphere.Draw();
 }
 // Sphere类别呼叫用
 public virtual void VisitSphere(Sphere theSphere)
 {
 }
 // Sphere类别呼叫用
 public override void VisitSphere(Sphere theSphere)
 {
     Volume += theSphere.GetVolume();
 }