コード例 #1
0
ファイル: EntityLayer.cs プロジェクト: parhelia512/phantom
 /// <summary>
 /// Returns the first entity that is at or closer than the specified distance to the specified location.
 /// </summary>
 /// <param name="position"></param>
 /// <param name="distance"></param>
 /// <returns></returns>
 public Entity GetEntityCloseTo(Vector2 position, float distance)
 {
     return(integrator.GetEntityCloseTo(position, distance));
 }