building footprints

This commit is contained in:
Chris Forbes
2009-10-11 15:21:19 +13:00
parent cdf56c278f
commit 3e0432464b
7 changed files with 78 additions and 15 deletions

View File

@@ -9,11 +9,13 @@ namespace OpenRa.Game
static class Rules
{
public static UnitInfo UnitInfo;
public static Footprint Footprint;
// TODO: load rules from the map, where appropriate.
public static void LoadRules()
{
UnitInfo = new UnitInfo( new IniFile( FileSystem.Open( "rules.ini" ) ) );
Footprint = new Footprint(FileSystem.Open("footprint.txt"));
}
}
}