using Steamworks; using StgSharp; using StgSharp.Entities; using StgSharp.Geometries; using System; using System.Collections.Generic; using System.Net.Http.Headers; using System.Text; namespace StgSharp { public class Pool:INode { internal LinkedList pointContainer; internal LinkedList geometryContainer; internal LinkedList _bulletContainer; internal LinkedList _awardContainer; internal LinkedList _enemyContainer; internal Line leftBoader; internal Line rightBoader; internal Line topBoader; internal Line bottomBoader; public Line LeftBoarder => leftBoader; public Line RightBoarder => rightBoader; public Line TopBoarder => topBoader; public Line BottomBoarder => bottomBoader; internal Sensor Sensor; private ContainerNode _id; public Pool(Line left, Line right, Line top, Line bottom) { topBoader = top; bottomBoader= bottom; rightBoader = right; leftBoader = left; } public Pool( Geometries.Rectangle area) { } ContainerNode INode.ID => _id; public void OnRender() { foreach (Enemy e in _enemyContainer) { } } void INode.setID(ContainerNode id) { if (_id == default) { _id = id; } else { throw new ArgumentException("Cannot set ID twicee!"); } } } }