Files
stgsharp/源代码/StgSharp/Control/Get.cs
T

22 lines
459 B
C#

using StgSharp.Control;
using StgSharp.Logic;
namespace StgSharp
{
public static unsafe partial class Instruction
{
public static LinkedList<T> GetAllActivatedPool<T>() where T:Pool
{
/**/
LinkedList<T> pool = new LinkedList<T>();
foreach (Pool item in TimeLine.allPool)
{
pool.Add((T)item);
}
return pool;
/**/
}
}
}