mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-24 04:41:10 +00:00
30 lines
639 B
C#
30 lines
639 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Globalization;
|
|
using System.Text;
|
|
|
|
namespace CodeImp.DoomBuilder
|
|
{
|
|
internal struct ConfigurationInfo : IComparable<ConfigurationInfo>
|
|
{
|
|
// Members
|
|
public string name;
|
|
public string filename;
|
|
|
|
// Constructor
|
|
public ConfigurationInfo(string name, string filename)
|
|
{
|
|
// Initialize
|
|
this.name = name;
|
|
this.filename = filename;
|
|
}
|
|
|
|
// This compares it to other ConfigurationInfo objects
|
|
public int CompareTo(ConfigurationInfo other)
|
|
{
|
|
// Compare
|
|
return name.CompareTo(other.name);
|
|
}
|
|
}
|
|
}
|