2009-04-19 18:07:22 +00:00
|
|
|
|
|
|
|
#region ================== Copyright (c) 2007 Pascal vd Heiden
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Copyright (c) 2007 Pascal vd Heiden, www.codeimp.com
|
|
|
|
* This program is released under GNU General Public License
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
#region ================== Namespaces
|
|
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
namespace CodeImp.DoomBuilder.Map
|
|
|
|
{
|
2009-08-14 10:45:22 +00:00
|
|
|
public class BlockEntry
|
2009-04-19 18:07:22 +00:00
|
|
|
{
|
|
|
|
#region ================== Variables
|
|
|
|
|
|
|
|
// Members
|
|
|
|
private List<Linedef> lines;
|
|
|
|
private List<Thing> things;
|
|
|
|
private List<Sector> sectors;
|
2013-09-09 14:03:02 +00:00
|
|
|
private List<Vertex> verts; //mxd
|
2009-04-19 18:07:22 +00:00
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
#region ================== Properties
|
|
|
|
|
|
|
|
public List<Linedef> Lines { get { return lines; } }
|
|
|
|
public List<Thing> Things { get { return things; } }
|
|
|
|
public List<Sector> Sectors { get { return sectors; } }
|
2013-09-09 14:03:02 +00:00
|
|
|
public List<Vertex> Vertices { get { return verts; } } //mxd
|
2009-04-19 18:07:22 +00:00
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
#region ================== Constructor
|
|
|
|
|
|
|
|
// Constructor for empty block
|
2009-08-14 10:45:22 +00:00
|
|
|
public BlockEntry()
|
2009-04-19 18:07:22 +00:00
|
|
|
{
|
|
|
|
lines = new List<Linedef>(2);
|
|
|
|
things = new List<Thing>(2);
|
|
|
|
sectors = new List<Sector>(2);
|
2013-09-09 14:03:02 +00:00
|
|
|
verts = new List<Vertex>(2); //mxd
|
2009-04-19 18:07:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
}
|