add temp hacked ProductionBar -- not wired to ProductionQueue properly yet.
This commit is contained in:
@@ -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" />
|
||||
|
||||
24
OpenRA.Mods.RA/ProductionBar.cs
Normal file
24
OpenRA.Mods.RA/ProductionBar.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user