22 lines
506 B
C#
22 lines
506 B
C#
using StgSharp.Geometries;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace StgSharp.Control
|
|
{
|
|
public static class Add
|
|
{
|
|
public static void Pool(Pool pool)
|
|
{
|
|
GameTimeLine.allPool.Add(pool);
|
|
}
|
|
|
|
public static void Geometry(IPlainGeometry geometry)
|
|
{
|
|
GameTimeLine._currentPool.geometryContainer.Add(geometry);
|
|
GameTimeLine._currentPool.pointContainer.Add(geometry.RefPoint);
|
|
}
|
|
}
|
|
}
|