Aetheria/Assets/Plugins/MSAGL/Routing/Spline/ConeSpanner/LeftObstacleSide.cs
Reinier Vens dbc522a224 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
2021-01-31 03:52:32 +00:00

20 lines
582 B
C#

using Microsoft.Msagl.Core.Geometry;
using Microsoft.Msagl.Core.Geometry.Curves;
namespace Microsoft.Msagl.Routing.Spline.ConeSpanner {
internal class LeftObstacleSide : ObstacleSide {
readonly Point end;
internal LeftObstacleSide(PolylinePoint startVertex)
: base(startVertex) {
end = startVertex.NextOnPolyline.Point;
}
internal override Point End {
get { return end; }
}
internal override PolylinePoint EndVertex {
get { return StartVertex.NextOnPolyline; }
}
}
}