40 lines
939 B
C#
40 lines
939 B
C#
using StgSharp;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Net.Http.Headers;
|
|
using System.Text;
|
|
|
|
namespace StgSharp
|
|
{
|
|
public class Pool
|
|
{
|
|
public LinkedList<Point> pointContainer;
|
|
public LinkedList<IGeometry> geometryContainer;
|
|
public LinkedList<Sensor> sensorContainer;
|
|
|
|
public Line leftBoader;
|
|
public Line rightBoader;
|
|
public Line topBoader;
|
|
public Line bottomBoader;
|
|
|
|
|
|
public void OnRender()
|
|
{
|
|
ContainerNode<Point> idCache = pointContainer._first;
|
|
Point p;
|
|
do
|
|
{
|
|
p = idCache._this;
|
|
p._x = p.getXHandler.Invoke(Control.TimeLine.tickCounter);
|
|
p._y = p.getYHandler.Invoke(Control.TimeLine.tickCounter);
|
|
idCache = idCache._next;
|
|
} while (idCache != default(ContainerNode<Point>));
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|