42 lines
991 B
C#
42 lines
991 B
C#
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
|
|
{
|
|
public class Pool
|
|
{
|
|
public LinkedList<Point> pointContainer;
|
|
public LinkedList<IGeometrySimple> geometryContainer;
|
|
public LinkedList<Sensor> sensorContainer;
|
|
|
|
public Line leftBoader;
|
|
public Line rightBoader;
|
|
public Line topBoader;
|
|
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>));
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|