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
33 lines
1 KiB
C#
33 lines
1 KiB
C#
using Microsoft.Msagl.Core.Geometry;
|
|
using Microsoft.Msagl.Core.Geometry.Curves;
|
|
|
|
namespace Microsoft.Msagl.Routing.Spline.ConeSpanner {
|
|
/// <summary>
|
|
/// left here means an intersection of a left cone side with an obstacle edge
|
|
/// </summary>
|
|
internal class LeftIntersectionEvent : SweepEvent {
|
|
internal ConeLeftSide coneLeftSide;
|
|
Point intersectionPoint;
|
|
PolylinePoint endVertex;
|
|
|
|
internal PolylinePoint EndVertex {
|
|
get { return endVertex; }
|
|
}
|
|
|
|
internal LeftIntersectionEvent(ConeLeftSide coneLeftSide,
|
|
Point intersectionPoint,
|
|
PolylinePoint endVertex) {
|
|
this.coneLeftSide = coneLeftSide;
|
|
this.intersectionPoint = intersectionPoint;
|
|
this.endVertex = endVertex;
|
|
}
|
|
|
|
internal override Point Site {
|
|
get { return intersectionPoint; }
|
|
}
|
|
|
|
public override string ToString() {
|
|
return "LeftIntersectionEvent " + intersectionPoint;
|
|
}
|
|
}
|
|
}
|