daily update on 20230525 by nitload youmu, ses00001 not solved
This commit is contained in:
@@ -29,15 +29,24 @@ namespace StgSharp
|
||||
|
||||
internal Sensor<EntityPartical> Sensor;
|
||||
|
||||
|
||||
#if DEBUG
|
||||
public Pool()
|
||||
{
|
||||
initContainers();
|
||||
Console.WriteLine("Pool init OK!");
|
||||
}
|
||||
#endif
|
||||
|
||||
public Pool(Line left, Line right, Line top, Line bottom)
|
||||
{
|
||||
initContainers();
|
||||
topBoader = top;
|
||||
bottomBoader= bottom;
|
||||
rightBoader = right;
|
||||
leftBoader = left;
|
||||
}
|
||||
|
||||
|
||||
public Pool( Geometries.Rectangle area)
|
||||
{
|
||||
vec3d vec = area.vertex01.Position - area.vertex02.Position;
|
||||
@@ -79,6 +88,17 @@ namespace StgSharp
|
||||
}
|
||||
}
|
||||
}
|
||||
initContainers();
|
||||
}
|
||||
|
||||
private void initContainers()
|
||||
{
|
||||
_id = new ContainerNode<Pool>(this);
|
||||
pointContainer = new LinkedList<Point>();
|
||||
_bulletContainer = new LinkedList<IEntity>();
|
||||
_awardContainer = new LinkedList<IEntity>();
|
||||
_enemyContainer = new LinkedList<IEntity>();
|
||||
|
||||
}
|
||||
|
||||
public void OnRender()
|
||||
|
||||
Reference in New Issue
Block a user