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
This commit is contained in:
Reinier Vens 2021-01-31 03:52:32 +00:00
commit dbc522a224
2105 changed files with 7033 additions and 1141 deletions

View file

@ -1,67 +0,0 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Msagl.Core.Layout;
namespace Microsoft.Msagl.Layout.LargeGraphLayout {
internal class LgNodeCollection : IList<Node> {
readonly Func<IEnumerable<Node>> funcOfNodes;
public LgNodeCollection(Func<IEnumerable<LgNodeInfo>> funcOfLgNodes) {
this.funcOfNodes = ()=>funcOfLgNodes().Select(n=>n.GeometryNode);
}
public IEnumerator<Node> GetEnumerator() {
return funcOfNodes().GetEnumerator();
}
IEnumerator IEnumerable.GetEnumerator() {
return GetEnumerator();
}
public void Add(Node item) {
throw new NotImplementedException();
}
public void Clear() {
throw new NotImplementedException();
}
public bool Contains(Node item) {
throw new NotImplementedException();
}
public void CopyTo(Node[] array, int arrayIndex) {
throw new NotImplementedException();
}
public bool Remove(Node item) {
throw new NotImplementedException();
}
public int Count {
get {
return funcOfNodes().Count();
}
}
public bool IsReadOnly { get; set; }
public int IndexOf(Node item) {
throw new NotImplementedException();
}
public void Insert(int index, Node item) {
throw new NotImplementedException();
}
public void RemoveAt(int index) {
throw new NotImplementedException();
}
public Node this[int index] {
get { throw new NotImplementedException(); }
set { throw new NotImplementedException(); }
}
}
}