mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-12-17 23:51: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);
|
|
}
|
|
}
|
|
}
|