Weapos Rejiggered
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
This commit is contained in:
parent
2a0fe34611
commit
dbc522a224
2105 changed files with 7033 additions and 1141 deletions
|
|
@ -0,0 +1,33 @@
|
|||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue