Removed spaces from top-level directory names.

Spaces tend to cause annoyances in a Unix-style shell environment.
This change fixes that.
This commit is contained in:
Chris Reuter
2021-11-21 18:30:21 -05:00
parent df2e7426eb
commit d26dbf036a
1725 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
namespace Target
{
internal class Explosion
{
private readonly Point _position;
public Explosion(Point position, Offset targetOffset)
{
_position = position;
FromTarget = targetOffset;
DistanceToTarget = targetOffset.Distance;
}
public Point Position => _position;
public Offset FromTarget { get; }
public float DistanceToTarget { get; }
public string GetBearing() => _position.GetBearing();
public bool IsHit => DistanceToTarget <= 20;
public bool IsTooClose => _position.Distance < 20;
}
}