Added grouping of items in sidebar + correct clock placement

Items in the sidebar are now grouped by their type and one of each item in the group can be 'built' at a time. Clock animation is now drawn on the items that are being built. Build time still not implemented. Behaviour after item built not correct.
This commit is contained in:
Matthew Bowra-Dean
2009-10-08 01:51:23 +13:00
parent eabc464410
commit 8a4c583882
6 changed files with 110 additions and 81 deletions

View File

@@ -9,8 +9,6 @@ namespace OpenRa.Game
public readonly float2 location;
readonly Sprite sprite;
public bool isBuilding = false;
public SidebarItem(Sprite s, Item item, int y)
{
this.techTreeItem = item;