Add some documentation to support powers.

This commit is contained in:
Taryn Hill
2015-03-10 00:11:59 -05:00
parent 762c0e12a2
commit 51e470e64c
2 changed files with 7 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ namespace OpenRA.Mods.Common.Traits
{
public abstract class SupportPowerInfo : ITraitInfo
{
[Desc("Measured in seconds.")]
public readonly int ChargeTime = 0;
public readonly string Icon = null;
public readonly string Description = "";
@@ -42,6 +43,8 @@ namespace OpenRA.Mods.Common.Traits
public readonly string BeaconPosterPalette = "chrome";
public readonly bool DisplayRadarPing = false;
[Desc("Measured in ticks.")]
public readonly int RadarPingDuration = 5 * 25;
public readonly string OrderName;