daily update on 20230329 by nitload youmu

This commit is contained in:
Nitload
2023-03-29 00:51:31 +08:00
parent eedab82f6e
commit 8641b24206
33 changed files with 195 additions and 106 deletions
+21 -3
View File
@@ -1,4 +1,5 @@
using System;
using StgSharp.Entities;
using System;
using System.Collections.Generic;
using System.Text;
@@ -6,11 +7,28 @@ namespace StgSharp.Control
{
public static class TimeLine
{
public static Pool _cache;
internal static Pool _currentPool;
public static LinkedList<Pool> allPool;
public static Counter<uint> tickCounter
= new Counter<uint>(0,1,1);
internal static BlockOperation currentOperation;
private static bool isPaused;
internal static void OnRender()
{
tickCounter.QuickAdd();
foreach (Pool p in allPool)
{
_currentPool = p;
if (!isPaused)
{
currentOperation.OnUpdating();
}
foreach (EntityPartical b in _currentPool._bulletContainer)
{
}
}
}
}
}