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
29 lines
813 B
C#
29 lines
813 B
C#
using Microsoft.Msagl.Core.Geometry;
|
|
|
|
namespace Microsoft.Msagl.Routing.Spline.ConeSpanner {
|
|
/// <summary>
|
|
/// this event caused by the intersection of a ObstacleSideSegment and the other cone side of the same cone
|
|
/// when this event happens the cone has to be removed
|
|
/// </summary>
|
|
internal class ConeClosureEvent:SweepEvent {
|
|
Cone coneToClose;
|
|
|
|
internal Cone ConeToClose {
|
|
get { return coneToClose; }
|
|
}
|
|
Point site;
|
|
|
|
internal override Point Site {
|
|
get { return site; }
|
|
}
|
|
|
|
internal ConeClosureEvent(Point site, Cone cone) {
|
|
this.site = site;
|
|
this.coneToClose = cone;
|
|
}
|
|
|
|
public override string ToString() {
|
|
return "ConeClosureEvent " + site;
|
|
}
|
|
}
|
|
}
|