UltimateZoneBuilder/Source/Core/IO/UniversalCollection.cs

39 lines
937 B
C#

#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.IO
{
public sealed class UniversalCollection : List<UniversalEntry>
{
// Variables
private string comment;
// Properties
public string Comment { get { return comment; } set { comment = value; } }
// Overload
public void Add(string key, object value)
{
base.Add(new UniversalEntry(key, value));
}
}
}