Aetheria/Assets/Plugins/MSAGL/Routing/Spline/ConeSpanner/SweepEvent.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

18 lines
754 B
C#

using Microsoft.Msagl.Core.Geometry;
namespace Microsoft.Msagl.Routing.Spline.ConeSpanner {
abstract internal class SweepEvent {
abstract internal Point Site { get; }
/// <summary/>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object,System.Object)")]
public override string ToString() {
string typeString = GetType().ToString();
int lastDotLoc = typeString.LastIndexOf('.');
if (lastDotLoc >= 0) {
typeString = typeString.Substring(lastDotLoc + 1);
}
return string.Format("{0} {1}", typeString, Site);
}
}
}