Aetheria/Assets/Plugins/MSAGL/Layout/LargeGraphLayout/LgEdgeInfo.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

44 lines
No EOL
1.2 KiB
C#

using System;
using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.Msagl.Core.Geometry;
using Microsoft.Msagl.Core.Geometry.Curves;
using Microsoft.Msagl.Core.Layout;
namespace Microsoft.Msagl.Layout.LargeGraphLayout {
/// <summary>
///
/// </summary>
public class LgEdgeInfo:LgInfoBase {
#if DEBUG && TEST_MSAGL
/// <summary>
/// to string for debugging
/// </summary>
/// <returns></returns>
public override string ToString() {
return String.Format("zoom lvl={0:F2}", ZoomLevel);
}
#endif
/// <summary>
///
/// </summary>
/// <param name="edge"></param>
public LgEdgeInfo(Edge edge) {
Edge = edge;
ZoomLevel = int.MaxValue;
}
/// <summary>
///
/// </summary>
public Edge Edge { get; set; }
// /// <summary>
// /// those need to be set to correctly draw an edge of the level: ActiveGeometries include ICurves and Arrowheads ( labels todo?)
// /// </summary>
// public List<EdgePartialGeometryOnLevel> EdgeGeometriesByLevels; //EdgeGeometriesByLevels[i] corresponds to level i,
}
}