private void LogDebugInfo() { Console.WriteLine("=============================================================="); Console.WriteLine("DEBUG INFO: "); Console.WriteLine("Boid Count: " + Boids.Count); Console.WriteLine("Separation: " + Boid.Sep); Console.WriteLine("Alignment: " + Boid.Ali); Console.WriteLine("Cohesion: " + Boid.Coh); Console.WriteLine("Follow Leader: " + Boid.Goal); Console.WriteLine("Max Boid Speed: " + Boid.MAX_SPEED); Console.WriteLine("Leader Boid:"); Console.WriteLine(" Position: " + LeaderBoid.Position); Console.WriteLine(" Velocity: " + LeaderBoid.Velocity); Console.WriteLine(" Size: " + LeaderBoid.Size); Console.WriteLine(" Front: " + LeaderBoid.Front); Console.WriteLine(" Right: " + LeaderBoid.Right); Console.WriteLine(" Pitch: " + LeaderBoid.Pitch); Console.WriteLine(" Yaw: " + LeaderBoid.Yaw); Console.WriteLine(""); Console.WriteLine("Boids: "); foreach (Boid b in Boids.OfType <Boid>()) { Console.WriteLine("Boid"); Console.WriteLine(" Position: " + b.Position); Console.WriteLine(" Velocity: " + b.Velocity); Console.WriteLine(" Size: " + b.Size); Console.WriteLine(" Front: " + b.Front); Console.WriteLine(" Right: " + b.Right); Console.WriteLine(" Pitch: " + b.Pitch); Console.WriteLine(" Yaw: " + b.Yaw); } Console.WriteLine("=============================================================="); Console.WriteLine(""); }