fix: Cleans up the GetXDistance methods. (#2279)
This commit is contained in:
parent
f2ce860c18
commit
06443ba0ca
3 changed files with 5 additions and 9 deletions
|
|
@ -69,8 +69,8 @@ public partial class Map
|
|||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public MobileDistanceEnumerable<Mobile> GetMobilesInBoundsByDistance(Rectangle2D bounds) =>
|
||||
GetMobilesInBoundsByDistance<Mobile>(bounds);
|
||||
public MobileDistanceEnumerable<Mobile> GetMobilesInBoundsByDistance(Rectangle2D bounds, bool makeBoundsInclusive = false) =>
|
||||
GetMobilesInBoundsByDistance<Mobile>(bounds, makeBoundsInclusive);
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public MobileDistanceEnumerable<T> GetMobilesInBoundsByDistance<T>(Rectangle2D bounds, bool makeBoundsInclusive = false) where T : Mobile =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue