daily update on 20230111 by nitload youmu
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
using StgSharp.Geometries;
|
||||
using StgSharp.Control;
|
||||
using StgSharp.Geometries;
|
||||
using StgSharp.Logic;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Net.Http.Headers;
|
||||
using System.Text;
|
||||
|
||||
namespace StgSharp.Logic
|
||||
@@ -9,11 +11,8 @@ namespace StgSharp.Logic
|
||||
public class Pool
|
||||
{
|
||||
public LinkedList<Point> pointContainer;
|
||||
public LinkedList<IGeometry> geometryContainer;
|
||||
public LinkedList<IGeometrySimple> geometryContainer;
|
||||
public LinkedList<Sensor> sensorContainer;
|
||||
|
||||
|
||||
|
||||
|
||||
public Line leftBoader;
|
||||
public Line rightBoader;
|
||||
@@ -21,5 +20,22 @@ namespace StgSharp.Logic
|
||||
public Line bottomBoader;
|
||||
|
||||
|
||||
public void OnRender()
|
||||
{
|
||||
ContainerNode<Point> idCache = pointContainer._head;
|
||||
Point p;
|
||||
do
|
||||
{
|
||||
p = idCache._this;
|
||||
p._x = p.getXHandler.Invoke(TimeLine.tickCounter);
|
||||
p._y = p.getYHandler.Invoke(TimeLine.tickCounter);
|
||||
idCache = idCache._next;
|
||||
} while (idCache != default(ContainerNode<Point>));
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user