Updated the observer ui

This commit is contained in:
teinarss
2019-05-22 14:56:52 +02:00
committed by Paul Chote
parent b90b3095a6
commit 9fc8b829e4
23 changed files with 3773 additions and 2076 deletions

View File

@@ -236,6 +236,11 @@ namespace OpenRA.Mods.Common.Traits
return Queue.Count > 0 && Queue[0] == item;
}
public ProductionItem CurrentItem()
{
return Queue.ElementAtOrDefault(0);
}
public virtual IEnumerable<ProductionItem> AllQueued()
{
return Queue;