using System; using System.Collections.Generic; using System.Drawing; namespace OpenRa.TechTreeTest { interface IRAUnit { bool Buildable { get; } void CheckPrerequisites(IEnumerable units, Race currentRace); string FriendlyName { get; } Bitmap Icon { get; } Race Owner { get; set; } string[] Prerequisites { get; set; } bool ShouldMakeBuildable(IEnumerable units); bool ShouldMakeUnbuildable(IEnumerable units); string Tag { get; } int TechLevel { get; set; } } }