IChromeButton support & RA rules change for it

This commit is contained in:
Chris Forbes
2010-02-26 21:05:35 +13:00
parent b976447d67
commit e0ecebf204
5 changed files with 70 additions and 40 deletions

View File

@@ -132,4 +132,12 @@ namespace OpenRa.Traits
IActivity Tick(Actor self);
void Cancel(Actor self);
}
public interface IChromeButton
{
string Image { get; }
bool Enabled { get; }
bool Pressed { get; }
void OnClick();
}
}