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
14 lines
No EOL
400 B
C#
14 lines
No EOL
400 B
C#
using Microsoft.Msagl.Core.Geometry;
|
|
|
|
namespace Microsoft.Msagl.Routing.Visibility {
|
|
internal abstract class SegmentBase {
|
|
abstract internal Point Start { get; }
|
|
abstract internal Point End { get; }
|
|
internal Point Direction { get { return End - Start; } }
|
|
#if DEBUG
|
|
public override string ToString() {
|
|
return Start + " " + End;
|
|
}
|
|
#endif
|
|
}
|
|
} |