mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-12-18 08:01:36 +00:00
31 lines
639 B
C#
31 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);
|
||
|
}
|
||
|
}
|
||
|
}
|