add temp hacked ProductionBar -- not wired to ProductionQueue properly yet.

This commit is contained in:
Chris Forbes
2011-03-02 22:20:34 +13:00
parent 770dbcee52
commit c62e025c45
2 changed files with 25 additions and 0 deletions

View File

@@ -60,6 +60,7 @@
<Compile Include="Activities\Demolish.cs" />
<Compile Include="Activities\Enter.cs" />
<Compile Include="Activities\EnterTransport.cs" />
<Compile Include="ProductionBar.cs" />
<Compile Include="Render\RenderEditorOnly.cs" />
<Compile Include="SmokeTrailWhenDamaged.cs" />
<Compile Include="Strategic\StrategicVictoryConditions.cs" />

View File

@@ -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<ProductionBar> { }
class ProductionBar : ISelectionBar
{
public float GetValue() { return .5f; }
public Color GetColor() { return Color.CadetBlue; }
}
}