Added BuildableItemsChanged event to tech tree.

This lets the Sidebar only repopulate its item list when the items that can be built changes.
This commit is contained in:
Matthew Bowra-Dean
2009-10-07 03:37:35 +13:00
parent 803b18d9b5
commit aa3801eace
3 changed files with 14 additions and 1 deletions

View File

@@ -9,6 +9,8 @@ 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;