working on Orders for sidebar

This commit is contained in:
Bob
2009-11-01 23:54:22 +13:00
parent 90ba576cc6
commit b4510876d3
3 changed files with 25 additions and 29 deletions

View File

@@ -109,14 +109,14 @@ namespace OpenRa.Game
return new Order(subject, "PlaceBuilding", null, null, target, buildingName, Cursor.Default);
}
public static Order BuildUnit(Player subject, string unitName)
{
return new Order(subject, "BuildUnit", null, null, int2.Zero, unitName, Cursor.Default);
}
public static Order DeliverOre(Actor subject, Actor target)
{
return new Order(subject.Owner, "DeliverOre", subject, target, int2.Zero, null, Cursor.Enter);
}
public static Order StartProduction(Player subject, string item)
{
return new Order(subject, "StartProduction", null, null, int2.Zero, item, Cursor.Default );
}
}
}