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
25 lines
812 B
C#
25 lines
812 B
C#
using Microsoft.Msagl.Core.Geometry;
|
|
using Microsoft.Msagl.Routing.Visibility;
|
|
|
|
namespace Microsoft.Msagl.Routing.Rectilinear {
|
|
/// <summary>
|
|
/// This vertex class is used in rectilinear shortest paths
|
|
/// </summary>
|
|
internal class VisibilityVertexRectilinear:VisibilityVertex {
|
|
internal VisibilityVertexRectilinear(Point point) : base(point) {}
|
|
|
|
internal VertexEntry[] VertexEntries { get; set; }
|
|
|
|
internal void SetVertexEntry(VertexEntry entry) {
|
|
if (this.VertexEntries == null) {
|
|
this.VertexEntries = new VertexEntry[4];
|
|
}
|
|
this.VertexEntries[CompassVector.ToIndex(entry.Direction)] = entry;
|
|
}
|
|
|
|
internal void RemoveVertexEntries() {
|
|
this.VertexEntries = null;
|
|
}
|
|
|
|
}
|
|
}
|