diff --git a/OpenRA.Mods.RA/OpenRA.Mods.RA.csproj b/OpenRA.Mods.RA/OpenRA.Mods.RA.csproj index 1bb7c793cf..5e591a39f3 100644 --- a/OpenRA.Mods.RA/OpenRA.Mods.RA.csproj +++ b/OpenRA.Mods.RA/OpenRA.Mods.RA.csproj @@ -60,6 +60,7 @@ + diff --git a/OpenRA.Mods.RA/ProductionBar.cs b/OpenRA.Mods.RA/ProductionBar.cs new file mode 100644 index 0000000000..ab2b162d29 --- /dev/null +++ b/OpenRA.Mods.RA/ProductionBar.cs @@ -0,0 +1,24 @@ +#region Copyright & License Information +/* + * Copyright 2007-2011 The OpenRA Developers (see AUTHORS) + * This file is part of OpenRA, which is free software. It is made + * available to you under the terms of the GNU General Public License + * as published by the Free Software Foundation. For more information, + * see COPYING. + */ +#endregion + +using System.Drawing; +using OpenRA.Traits; + +namespace OpenRA.Mods.RA +{ + class ProductionBarInfo : TraitInfo { } + + class ProductionBar : ISelectionBar + { + public float GetValue() { return .5f; } + + public Color GetColor() { return Color.CadetBlue; } + } +}