Queue<(Tower,Waypoint)>

Why not just use Tuples? Like

Queue<(Tower,Waypoint)>

Maybe C#7 wasn’t available at the time, but now it’s a much better solution since you don’t have to track the Waypoint inside the Tower.

Privacy & Terms