示例#1
0
 public IEnumerable <Entity> GetEntitiesIn(Rect2 bounds, Vector2 loc)
 {
     return(Entities.Where((e) => Shape2.Intersects(e.Attributes.Bounds, bounds, e.Location, loc, false)));
 }