daily update on 20230105 by nitload youmu
This commit is contained in:
@@ -6,6 +6,9 @@ namespace StgSharp.Logic
|
||||
{
|
||||
public interface INode
|
||||
{
|
||||
|
||||
public LinkedListNode<INode> ID
|
||||
{
|
||||
get ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Text;
|
||||
|
||||
namespace StgSharp.Logic
|
||||
{
|
||||
internal class LinkedListNode<T> where T : INode
|
||||
public class LinkedListNode<T> where T : INode
|
||||
{
|
||||
internal readonly T _this;
|
||||
internal LinkedListNode<T> _previous;
|
||||
|
||||
@@ -9,7 +9,11 @@ namespace StgSharp.Logic
|
||||
public class Pool
|
||||
{
|
||||
public LinkedList<Point> pointContainer;
|
||||
public LinkedList<Geometry> geometryContainer;
|
||||
public LinkedList<IGeometry> geometryContainer;
|
||||
public LinkedList<Sensor> sensorContainer;
|
||||
|
||||
|
||||
|
||||
|
||||
public Line leftBoader;
|
||||
public Line rightBoader;
|
||||
|
||||
@@ -4,8 +4,13 @@ using System.Text;
|
||||
|
||||
namespace StgSharp.Logic
|
||||
{
|
||||
public class Sensor
|
||||
public class Sensor : INode
|
||||
{
|
||||
private LinkedListNode<INode> _id;
|
||||
|
||||
LinkedListNode<INode> INode.ID
|
||||
{
|
||||
get { return _id; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user