moved FieldLoader and .F() ext into OpenRa.FileFormats

This commit is contained in:
Chris Forbes
2010-01-14 19:15:22 +13:00
parent 8e86ce6d4a
commit 614edbdc65
10 changed files with 21 additions and 21 deletions

View File

@@ -1,6 +1,4 @@
using System.Windows.Forms;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
using OpenRa.Game.GameRules;
using OpenRa.Game.Traits;
@@ -9,11 +7,6 @@ namespace OpenRa.Game
{
static class Exts
{
public static string F(this string fmt, params object[] args)
{
return string.Format(fmt, args);
}
public static bool HasModifier(this Modifiers k, Modifiers mod)
{
return (k & mod) == mod;