Add some documentation to support powers.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user