From d4fce87161686c2b9c522a23d0e30fe9cb0900aa Mon Sep 17 00:00:00 2001 From: Benjamin Kraft Date: Tue, 18 Apr 2023 10:57:30 +0200 Subject: [PATCH] todo --- Assets/Scripts/Game/AIPlayer.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/Scripts/Game/AIPlayer.cs b/Assets/Scripts/Game/AIPlayer.cs index 72be96f..99d77da 100644 --- a/Assets/Scripts/Game/AIPlayer.cs +++ b/Assets/Scripts/Game/AIPlayer.cs @@ -203,6 +203,7 @@ namespace Game { while (approaching.Count > 0) { + // TODO nearest by impact time // Nearest by Y-Distance var ball = approaching.Aggregate(approaching[0], (prev, current) => YDistanceToBall(current) < YDistanceToBall(prev) ? current : prev);