39 lines
857 B
C#
39 lines
857 B
C#
using StgSharp.Control;
|
|
using StgSharp.Math;
|
|
using System;
|
|
|
|
namespace StgSharp
|
|
{
|
|
public static partial class Instruction
|
|
{
|
|
/// <summary>
|
|
/// Add a pool to timeline controller, and return the instance of the pool.
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public static Pool InitPool()
|
|
{
|
|
Pool pool = new Pool();
|
|
AddPool(pool);
|
|
return pool;
|
|
}
|
|
|
|
public static void AddPool(Pool pool)
|
|
{
|
|
TimeLine.allPool.Add(pool);
|
|
TimeLine._currentPool = pool;
|
|
}
|
|
|
|
public static void LoadTimeline()
|
|
{
|
|
|
|
}
|
|
|
|
internal static void InitM128map(Pool target)
|
|
{
|
|
M128Map map = new M128Map();
|
|
TimeLine.GetCurrentPool()._m128mapContainer.Add(map);
|
|
}
|
|
|
|
}
|
|
}
|