29 lines
669 B
C#
29 lines
669 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 GeometryCombination(IGeometryCombination geometry)
|
|
{
|
|
foreach (IGeometry geo in geometry)
|
|
{
|
|
GameTimeLine._currentPool.geometryContainer.Add(geo);
|
|
}
|
|
}
|
|
|
|
public static void Geometry(IGeometry geometry)
|
|
{
|
|
GameTimeLine._currentPool.geometryContainer.Add(geometry);
|
|
}
|
|
}
|
|
}
|