예제 #1
0
 internal bool IsHit(Shape shape)
 {
     foreach (var p in this.plist)
     {
         if (shape.IsHit(p))
         {
             return true;
         }
     }
     return false;
 }
예제 #2
0
 internal bool IsHit(Shape shape)
 {
     foreach (var wall in this.wallList)
     {
         if(wall.IsHit(shape))
         {
             return true;
         }
     }
     return false;
 }