예제 #1
0
파일: Rock.cs 프로젝트: brian-exe/Caveman
 internal void CheckColissions(List <Sprite> enemies)
 {
     foreach (Sprite e in enemies)
     {
         if (e.Rectangle.Intersects(this.Rectangle))
         {
             owner.MarkAsRemovedRock(this);
             (e as IMortable).ReceiveHit(this);
         }
     }
 }