예제 #1
0
 public bool CollidesWith(Cube otherCube)
 {
     return(Width.Collides(otherCube.Width) ||
            Height.Collides(otherCube.Height) ||
            Depth.Collides(otherCube.Depth));
 }