60 lines
1.4 KiB
C#
60 lines
1.4 KiB
C#
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<Pool>
|
|
{
|
|
internal LinkedList<Point> pointContainer;
|
|
internal LinkedList<IGeometry> geometryContainer;
|
|
internal LinkedList<IEntity> _bulletContainer;
|
|
internal LinkedList<IEntity> _awardContainer;
|
|
internal LinkedList<IEntity> _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<EntityPartical> Sensor;
|
|
|
|
private ContainerNode<Pool> _id;
|
|
|
|
|
|
|
|
public Pool(Line left, Line right, Line top, Line bottom)
|
|
{
|
|
topBoader = top;
|
|
bottomBoader= bottom;
|
|
rightBoader = right;
|
|
leftBoader = left;
|
|
}
|
|
public Pool( Geometries.Rectangle area)
|
|
{
|
|
|
|
}
|
|
|
|
public void OnRender()
|
|
{
|
|
foreach (Enemy e in _enemyContainer)
|
|
{
|
|
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
|
|
}
|