using StgSharp.Entities; using StgSharp.Graphics; using System; using System.Diagnostics.CodeAnalysis; using System.Threading; namespace StgSharp.Controlling { public static partial class TimeLine { public const long version = 430; internal static LinkedList
allForm; private static SemaphoreSlim ping; private static SemaphoreSlim pong; /// /// Tick counter count the frames passed since the program start. /// public static readonly Counter tickCounter = new Counter(0, 1, 1); internal static TimelineBlock currentOperation; private static bool isPaused = false; static unsafe TimeLine() { allForm = new LinkedList(); } public static TimelineBlock CurrentOperation { get { return currentOperation; } set { if (currentOperation == default || currentOperation.isComplete) { currentOperation = value; } } } public static void TimelineMain() { } internal static void UodateAllFrame() { foreach (Form item in allForm) { item.formThread.Start(); } } } }