Refactor support powers to use ticks instead of seconds for all delays - code changes

Also renamed ChargeTime to ChargeInterval.
This commit is contained in:
reaperrr
2017-11-15 22:07:54 +01:00
committed by Paul Chote
parent 3d62b1f9b3
commit b70e4de5ee
8 changed files with 40 additions and 10 deletions

View File

@@ -15,8 +15,8 @@ namespace OpenRA.Mods.Common.Traits
{
public abstract class SupportPowerInfo : PausableConditionalTraitInfo
{
[Desc("Measured in seconds.")]
public readonly int ChargeTime = 0;
[Desc("Measured in ticks.")]
public readonly int ChargeInterval = 0;
public readonly string Icon = null;
public readonly string Description = "";
public readonly string LongDesc = "";