using StgSharp.Control; using StgSharp.Geometries; using System; using System.Collections.Generic; using System.Text; namespace StgSharp { public static partial class Instruction { /// /// Add a pool to timeline controller, and return the instance of the pool. /// /// public static Pool InitPool() { Pool pool = new Pool(); AddPool(pool); return pool; } public static void AddPool(Pool pool) { ProgramTimeLine.allPool.Add(pool); ProgramTimeLine._currentPool = pool; } } }