mirror of
https://github.com/AdAstra-LD/DS-Pokemon-Rom-Editor.git
synced 2026-05-10 22:21:05 -05:00
43 lines
839 B
C#
43 lines
839 B
C#
namespace MKDS_Course_Editor.Export3DTools
|
|
{
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Reflection;
|
|
|
|
public class Group
|
|
{
|
|
private List<Polygon> PolygonList = new List<Polygon>();
|
|
|
|
public void Add(Polygon g)
|
|
{
|
|
this.PolygonList.Add(g);
|
|
}
|
|
|
|
public IEnumerator<Polygon> GetEnumerator()
|
|
{
|
|
return this.PolygonList.GetEnumerator();
|
|
}
|
|
|
|
public Polygon this[int i]
|
|
{
|
|
get
|
|
{
|
|
return this.PolygonList[i];
|
|
}
|
|
set
|
|
{
|
|
this.PolygonList[i] = value;
|
|
}
|
|
}
|
|
|
|
public Polygon[] Polygons
|
|
{
|
|
get
|
|
{
|
|
return this.PolygonList.ToArray();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|