1
Fork 0
mirror of https://github.com/thegeneralist01/Scene-Manager-DevRepo synced 2026-01-11 23:50:29 +01:00

Updated waypoint Collector field name to IsCollector

This commit is contained in:
Rich Dunne 2020-08-23 15:44:04 -06:00
parent db0cc52873
commit 3d62a54d36

View file

@ -37,7 +37,7 @@ namespace SceneManager
public static void DrawSpheresAtWaypoints(Path path, int i) public static void DrawSpheresAtWaypoints(Path path, int i)
{ {
if (path.Waypoints[i].Collector) if (path.Waypoints[i].IsCollector)
{ {
Debug.DrawSphere(path.Waypoints[i].Position, path.Waypoints[i].CollectorRadius, Color.FromArgb(80, Color.Blue)); Debug.DrawSphere(path.Waypoints[i].Position, path.Waypoints[i].CollectorRadius, Color.FromArgb(80, Color.Blue));
} }