2010-09-10 06:09:28 +00:00
|
|
|
|
#region === Copyright (c) 2010 Pascal van der Heiden ===
|
|
|
|
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using CodeImp.DoomBuilder.Geometry;
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
2012-11-27 21:12:20 +00:00
|
|
|
|
namespace CodeImp.DoomBuilder.BuilderModes
|
2010-09-10 06:09:28 +00:00
|
|
|
|
{
|
|
|
|
|
internal class WallPolygon : List<Vector3D>
|
|
|
|
|
{
|
|
|
|
|
// The color that the wall should have
|
|
|
|
|
public int color;
|
|
|
|
|
|
2015-04-14 11:33:57 +00:00
|
|
|
|
// Constructors
|
|
|
|
|
public WallPolygon() { }
|
|
|
|
|
public WallPolygon(int capacity) : base(capacity) { }
|
2010-09-10 09:08:54 +00:00
|
|
|
|
|
|
|
|
|
// This copies all the wall properties
|
|
|
|
|
public void CopyProperties(WallPolygon target)
|
|
|
|
|
{
|
|
|
|
|
target.color = this.color;
|
|
|
|
|
}
|
2010-09-10 06:09:28 +00:00
|
|
|
|
}
|
|
|
|
|
}
|