Aetheria/Assets/Plugins/MSAGL/Routing/Rectilinear/WaypointPort.cs
Reinier Vens dbc522a224 Weapos Rejiggered
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
2021-01-31 03:52:32 +00:00

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; }
}
}
}