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
25 lines
No EOL
607 B
C#
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; }
|
|
}
|
|
|
|
}
|
|
} |