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
No EOL
710 B
C#
27 lines
No EOL
710 B
C#
using System.Collections.Generic;
|
|
using Microsoft.Msagl.Core.Geometry;
|
|
using Microsoft.Msagl.Core.Geometry.Curves;
|
|
|
|
namespace Microsoft.Msagl.Routing.Spline.Bundling {
|
|
internal class StationEdgeInfo {
|
|
internal StationEdgeInfo(Point iPos, Point jPos) {
|
|
var dir = jPos - iPos;
|
|
var length = dir.Length;
|
|
if (length > ApproximateComparer.DistanceEpsilon)
|
|
dir /= length;
|
|
}
|
|
|
|
internal int Count;
|
|
internal double Width;
|
|
|
|
internal List<Metroline> Metrolines = new List<Metroline>();
|
|
|
|
#region cache
|
|
|
|
internal double cachedBundleCost;
|
|
|
|
//internal Polyline cachedBoundary;
|
|
|
|
#endregion
|
|
}
|
|
} |