tidy
This commit is contained in:
@@ -8,7 +8,6 @@
|
|||||||
*/
|
*/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ namespace OpenRA.Mods.RA
|
|||||||
class SupplyTruck : IIssueOrder, IResolveOrder, IOrderVoice
|
class SupplyTruck : IIssueOrder, IResolveOrder, IOrderVoice
|
||||||
{
|
{
|
||||||
SupplyTruckInfo Info;
|
SupplyTruckInfo Info;
|
||||||
|
|
||||||
public SupplyTruck(SupplyTruckInfo info)
|
public SupplyTruck(SupplyTruckInfo info)
|
||||||
{
|
{
|
||||||
Info = info;
|
Info = info;
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ namespace OpenRA.Mods.RA
|
|||||||
public readonly float ProneDamage = .5f;
|
public readonly float ProneDamage = .5f;
|
||||||
public readonly decimal ProneSpeed = .5m;
|
public readonly decimal ProneSpeed = .5m;
|
||||||
public readonly int[] BarrelOffset = null;
|
public readonly int[] BarrelOffset = null;
|
||||||
|
|
||||||
public object Create(ActorInitializer init) { return new TakeCover(this); }
|
public object Create(ActorInitializer init) { return new TakeCover(this); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ namespace OpenRA.Mods.RA
|
|||||||
public class TargetableUnitInfo : ITraitInfo
|
public class TargetableUnitInfo : ITraitInfo
|
||||||
{
|
{
|
||||||
public readonly string[] TargetTypes = { };
|
public readonly string[] TargetTypes = { };
|
||||||
|
|
||||||
public virtual object Create( ActorInitializer init ) { return new TargetableUnit<TargetableUnitInfo>( init.self, this ); }
|
public virtual object Create( ActorInitializer init ) { return new TargetableUnit<TargetableUnitInfo>( init.self, this ); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user