First pass. Needs testing.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System.Diagnostics;
|
||||
using static Shogi.Domain.YetToBeAssimilatedIntoDDD.Pathing.Path;
|
||||
|
||||
namespace Shogi.Domain.YetToBeAssimilatedIntoDDD.Pathing;
|
||||
|
||||
@@ -20,4 +19,6 @@ public record Path
|
||||
Step = step;
|
||||
this.Distance = distance;
|
||||
}
|
||||
public Path Invert() => new(Vector2.Negate(Step), Distance);
|
||||
|
||||
public Path Invert() => new(Vector2.Negate(Step), Distance);
|
||||
}
|
||||
Reference in New Issue
Block a user