Exemple #1
0
 public bool Collides(float _x, float _y, float _w, float _h, float _xoff, float _yoff)
 => Rectangle.Collide(_x, _y, _w, _h, _xoff + X, _yoff + Y, W, H);
Exemple #2
0
 public bool Collides(float _x, float _y)
 => Rectangle.Collide(_x, _y, X, Y, W, H);