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
576 B
C#
20 lines
576 B
C#
using Microsoft.Msagl.Core.Geometry;
|
|
using Microsoft.Msagl.Core.Geometry.Curves;
|
|
|
|
namespace Microsoft.Msagl.Routing.Spline.ConeSpanner {
|
|
abstract internal class VertexEvent: SweepEvent {
|
|
PolylinePoint vertex;
|
|
|
|
internal PolylinePoint Vertex {
|
|
get { return vertex; }
|
|
set { vertex = value; }
|
|
}
|
|
|
|
internal override Point Site {
|
|
get { return vertex.Point; }
|
|
}
|
|
|
|
internal VertexEvent(PolylinePoint p) { vertex = p; }
|
|
internal Polyline Polyline { get { return vertex.Polyline; } }
|
|
}
|
|
}
|