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
22 lines
No EOL
719 B
C#
22 lines
No EOL
719 B
C#
using Microsoft.Msagl.Core.Geometry;
|
|
using Microsoft.Msagl.Core.Geometry.Curves;
|
|
|
|
namespace Microsoft.Msagl.Routing.Spline.Bundling {
|
|
internal class OrientedHubSegment {
|
|
internal ICurve Segment;
|
|
internal bool Reversed;
|
|
internal int Index;
|
|
internal BundleBase BundleBase;
|
|
|
|
internal OrientedHubSegment(ICurve seg, bool reversed, int index, BundleBase bundleBase) {
|
|
Segment = seg;
|
|
Reversed = reversed;
|
|
Index = index;
|
|
BundleBase = bundleBase;
|
|
}
|
|
|
|
internal Point this[double t] { get { return Reversed ? Segment[Segment.ParEnd - t] : Segment[t]; } }
|
|
|
|
internal OrientedHubSegment Other { get; set; }
|
|
}
|
|
} |