예제 #1
0
 public bool isColliding(BaseSprite sprite)
 {
     return(this.Rec.Intersects(sprite.Rec));
 }
예제 #2
0
 public float measureDis(BaseSprite sprite)
 {
     return(measureDis(this.Center, sprite.Center));
 }