コード例 #1
0
ファイル: SimpleSprite.cs プロジェクト: S00182360/Week4
 public bool InCollision(SimpleSprite other)
 {
     return(BoundingRect.Intersects(other.BoundingRect));
 }
コード例 #2
0
 public bool IsIntersecting(SimpleSprite other)
 {
     return(BoundingRect.Intersects(other.BoundingRect));
 }