Beispiel #1
0
 public IEnumerable <Placeable> GetPlaceables(int x, int y, int w, int h) => Placeables.Where(r => r.Intersects(x, y, w, h));
Beispiel #2
0
 public IEnumerable <Placeable> GetPlaceables(int x, int y) => Placeables.Where(r => r.ContainsPoint(x, y));