implement smart bullet

This commit is contained in:
Vinzenz Schroeter 2024-04-29 21:52:50 +02:00
parent 21f7d1d5f4
commit 0e01ff0fb9
9 changed files with 54 additions and 21 deletions

View file

@ -22,7 +22,6 @@ internal static class PositionHelpers
public static FloatPosition ToFloatPosition(this PixelPosition position) => new(position.X, position.Y);
public static double Distance(this FloatPosition p1, FloatPosition p2)
=> Math.Sqrt(
Math.Pow(p1.X - p2.X, 2) +