This commit is contained in:
Chris Forbes
2011-11-05 11:40:13 +13:00
parent cd155b21c9
commit bd90666c07
4 changed files with 3 additions and 1 deletions

View File

@@ -8,7 +8,6 @@
*/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using OpenRA.Traits;

View File

@@ -26,6 +26,7 @@ namespace OpenRA.Mods.RA
class SupplyTruck : IIssueOrder, IResolveOrder, IOrderVoice
{
SupplyTruckInfo Info;
public SupplyTruck(SupplyTruckInfo info)
{
Info = info;

View File

@@ -20,6 +20,7 @@ namespace OpenRA.Mods.RA
public readonly float ProneDamage = .5f;
public readonly decimal ProneSpeed = .5m;
public readonly int[] BarrelOffset = null;
public object Create(ActorInitializer init) { return new TakeCover(this); }
}

View File

@@ -17,6 +17,7 @@ namespace OpenRA.Mods.RA
public class TargetableUnitInfo : ITraitInfo
{
public readonly string[] TargetTypes = { };
public virtual object Create( ActorInitializer init ) { return new TargetableUnit<TargetableUnitInfo>( init.self, this ); }
}