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>
|
|
/// right here means an intersection of a right cone side with an obstacle edge
|
|
/// </summary>
|
|
internal class RightIntersectionEvent: SweepEvent {
|
|
internal ConeRightSide coneRightSide;
|
|
Point intersectionPoint;
|
|
PolylinePoint endVertex;
|
|
|
|
internal PolylinePoint EndVertex {
|
|
get { return endVertex; }
|
|
set { endVertex = value; }
|
|
}
|
|
|
|
internal RightIntersectionEvent(ConeRightSide coneRightSide,
|
|
Point intersectionPoint, PolylinePoint endVertex) {
|
|
this.coneRightSide = coneRightSide;
|
|
this.intersectionPoint = intersectionPoint;
|
|
this.endVertex = endVertex;
|
|
}
|
|
|
|
internal override Point Site {
|
|
get { return intersectionPoint; }
|
|
}
|
|
|
|
public override string ToString() {
|
|
return "RightIntersectionEvent "+ intersectionPoint;
|
|
}
|
|
}
|
|
}
|