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
20 lines
695 B
C#
20 lines
695 B
C#
namespace Microsoft.Msagl.Layout.Layered {
|
|
internal class ConstrainedOrderMeasure {
|
|
readonly int numberOfCrossings;
|
|
//readonly double deviationFromConstraints;
|
|
|
|
internal ConstrainedOrderMeasure(int numberOfCrossings) {
|
|
this.numberOfCrossings = numberOfCrossings;
|
|
// this.deviationFromConstraints = deviationFromConstraints;
|
|
}
|
|
|
|
static public bool operator <(ConstrainedOrderMeasure a, ConstrainedOrderMeasure b) {
|
|
return a.numberOfCrossings < b.numberOfCrossings;
|
|
}
|
|
|
|
|
|
static public bool operator >(ConstrainedOrderMeasure a, ConstrainedOrderMeasure b) {
|
|
return b < a;
|
|
}
|
|
}
|
|
}
|