UltimateZoneBuilder/Source/Core/IO/UniversalCollection.cs

46 lines
1.1 KiB
C#
Raw Normal View History

#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;
using System.IO;
using System.Text;
using System.Globalization;
using System.Collections;
using System.Collections.Specialized;
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));
}
}
}