daily update on 20230413 by nitload youmu

This commit is contained in:
Nitload
2023-04-13 23:28:18 +08:00
parent 7d24d4e7b0
commit 0995a1c501
32 changed files with 179 additions and 35 deletions
+1 -2
View File
@@ -6,12 +6,11 @@ using System.Text;
namespace StgSharp
{
public class LinkedList<T>:IEnumerable,INode<LinkedList<T>> where T: INode<T>
public class LinkedList<T>:INode<LinkedList<T>>,IEnumerable where T: INode<T>
{
internal readonly ContainerNode<T> _heading;
internal ContainerNode<T> _first;
internal ContainerNode<T> _tail;
private ContainerNode<LinkedList<T>> _id;
private ContainerNode<T> _cache;
public LinkedList()
+6 -4
View File
@@ -1,5 +1,5 @@
using Steamworks;
using StgSharp;
using StgSharp.Math;
using StgSharp.Entities;
using StgSharp.Geometries;
using System;
@@ -29,8 +29,6 @@ namespace StgSharp
internal Sensor<EntityPartical> Sensor;
private ContainerNode<Pool> _id;
public Pool(Line left, Line right, Line top, Line bottom)
@@ -42,7 +40,11 @@ namespace StgSharp
}
public Pool( Geometries.Rectangle area)
{
if (Calc.Abs(area._centerToCorner1.X) == Calc.Abs(area._centerToCorner2.X)
&& Calc.Abs(area._centerToCorner1.Y) == Calc.Abs(area._centerToCorner2.Y))
{
}
}
public void OnRender()