Files
OpenRA/OpenRa.Game/GameRules/Rules.cs
Bob 04dd5e68ba Added UnitInfo.
- units.txt turned into infantry.txt and vehicles.txt
    - slight sidebar fixes
2009-10-09 21:28:56 +13:00

20 lines
406 B
C#
Executable File

using System;
using System.Collections.Generic;
using System.Linq;
using OpenRa.FileFormats;
using OpenRa.Game.GameRules;
namespace OpenRa.Game
{
static class Rules
{
public static UnitInfo UnitInfo;
// TODO: load rules from the map, where appropriate.
public static void LoadRules()
{
UnitInfo = new UnitInfo( new IniFile( FileSystem.Open( "rules.ini" ) ) );
}
}
}