daily update on 20230408 by nitload youmu

This commit is contained in:
Nitload
2023-04-08 01:34:08 +08:00
parent 8641b24206
commit daaa62579b
196 changed files with 2983 additions and 174 deletions
+10 -3
View File
@@ -1,5 +1,4 @@
using GLFWDotNet;
using StgSharp.Geometries;
using StgSharp.Geometries;
using System;
using System.Collections.Generic;
using System.Text;
@@ -8,9 +7,17 @@ namespace StgSharp.Control
{
public static class Add
{
public static void Pool(Pool pool)
{
GameTimeLine.allPool.Add(pool);
}
public static void GeometryCombination(IGeometryCombination geometry)
{
foreach (IGeometry geo in geometry)
{
GameTimeLine._currentPool.geometryContainer.Add(geo);
}
}
}
}
+2 -1
View File
@@ -1,4 +1,5 @@
using System;
using StgSharp.Geometries;
using System;
using System.Collections.Generic;
using System.Text;
+2 -2
View File
@@ -5,10 +5,10 @@ using System.Text;
namespace StgSharp.Control
{
public static class TimeLine
public static class GameTimeLine
{
internal static Pool _currentPool;
public static LinkedList<Pool> allPool;
internal static LinkedList<Pool> allPool;
public static Counter<uint> tickCounter
= new Counter<uint>(0,1,1);
internal static BlockOperation currentOperation;