Aetheria/Assets/Plugins/MSAGL/Routing/Rectilinear/Clump.cs
Reinier Vens dbc522a224 Weapos Rejiggered
Modified weapon scripts to eliminate specialized projectile behavior - allows charged weapons to have projectiles and modify weapon stats when charged
Added machine gun weapon & VFX
Moved third party code to Plugins folder to improve compile times
2021-01-31 03:52:32 +00:00

27 lines
874 B
C#

//
// Clump.cs
// MSAGL class for accreting clumps of overlapped obstacles for Rectilinear Edge Routing.
//
// Copyright Microsoft Corporation.
using System.Collections.Generic;
namespace Microsoft.Msagl.Routing.Rectilinear {
/// <summary>
/// This is the list of obstacles in the clump.
/// </summary>
internal class Clump : List<Obstacle> {
internal Clump(IEnumerable<Obstacle> obstacles) {
this.AddRange(obstacles);
}
#if DEBUG && TEST_MSAGL
/// <summary>
/// </summary>
/// <returns></returns>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)")]
public override string ToString() {
return string.Format("({0}", this.Count);
}
#endif
}
}