Aetheria/Assets/Plugins/MSAGL/Routing/Spline/ConeSpanner/RightObstacleSide.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

25 lines
No EOL
607 B
C#

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