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
20 lines
582 B
C#
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; }
|
|
}
|
|
|
|
}
|
|
}
|