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
27 lines
874 B
C#
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
|
|
}
|
|
}
|