Exemplo n.º 1
0
 // 有Cube类来调用
 public virtual void VisitCube(Cube theCube)
 {
 }
Exemplo n.º 2
0
 public override void VisitCube(Cube theCube)
 {
     theCube.Draw();
 }