using StgSharp.Entities; using System; using System.Collections.Generic; using System.Text; namespace StgSharp.Control { public static class GameTimeLine { internal static Pool _currentPool; internal static LinkedList allPool; public static Counter tickCounter = new Counter(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) { } } } } }