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
30 lines
No EOL
774 B
C#
30 lines
No EOL
774 B
C#
using Microsoft.Msagl.Core.Geometry;
|
|
using Microsoft.Msagl.Core.Geometry.Curves;
|
|
using Microsoft.Msagl.Core.Layout;
|
|
|
|
namespace Microsoft.Msagl.Routing.Rectilinear{
|
|
/// <summary>
|
|
/// keep this class internal, it not a full fledged Port
|
|
/// </summary>
|
|
internal class WaypointPort : FloatingPort{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <param name="location"></param>
|
|
public WaypointPort(Point location):base(null,location){
|
|
this.location = location;
|
|
}
|
|
|
|
readonly Point location;
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public override Point Location {
|
|
get { return location; }
|
|
}
|
|
|
|
public override ICurve Curve {
|
|
get { return null; }
|
|
}
|
|
}
|
|
} |