daily uodate on 20231208 by nitload youmu, preparation for multi thread rendering

This commit is contained in:
Nitload
2023-12-08 05:36:04 +08:00
parent ae804553ce
commit ab85c1a9fe
297 changed files with 157896 additions and 5170 deletions
+26
View File
@@ -0,0 +1,26 @@
using StgSharp.Entities;
using StgSharp.Geometries;
using StgSharp.Math;
namespace StgSharp
{
public partial class Control
{
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;
private void initContainers()
{
}
}
}
-48
View File
@@ -1,48 +0,0 @@
using StgSharp.Entities;
using StgSharp.Geometries;
using StgSharp.Math;
namespace StgSharp
{
public class Pool
{
internal LinkedList<Vector4Map> _Vector4mapContainer;
internal LinkedList<PlainGeometry> _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;
public Pool()
{
initContainers();
}
private void initContainers()
{
_Vector4mapContainer = new LinkedList<Vector4Map>();
_bulletContainer = new LinkedList<IEntity>();
_awardContainer = new LinkedList<IEntity>();
_enemyContainer = new LinkedList<IEntity>();
_geometryContainer = new LinkedList<PlainGeometry>();
}
public void OnRender()
{
}
}
}