Remove some duplication

This commit is contained in:
Paul Chote
2010-08-26 21:43:14 +12:00
parent 267d89a459
commit ee546750b2
2 changed files with 4 additions and 19 deletions

View File

@@ -191,20 +191,5 @@ namespace OpenRA
{
return new Order("CancelProduction", subject, item);
}
public static Order StartProduction(Player subject, string item, int count)
{
return new Order("StartProduction", subject.PlayerActor, new int2( count, 0 ), item );
}
public static Order PauseProduction(Player subject, string item, bool pause)
{
return new Order("PauseProduction", subject.PlayerActor, new int2( pause ? 1 : 0, 0 ), item);
}
public static Order CancelProduction(Player subject, string item)
{
return new Order("CancelProduction", subject.PlayerActor, item);
}
}
}