Better map format; First half of a loader for it.

This commit is contained in:
Paul Chote
2010-04-01 13:22:20 +13:00
committed by Bob
parent da2f919e8f
commit 5a95c8a071
5 changed files with 162 additions and 3 deletions

View File

@@ -169,5 +169,13 @@ namespace OpenRA.FileFormats
yield return "";
}
}
public static IEnumerable< Pair<string,string> >ToPairs(this MiniYamlNodes y)
{
foreach (var kv in y)
{
yield return Pair.New(kv.Key,kv.Value.Value);
}
}
}
}