ffs, i'm a tard.

This commit is contained in:
Chris Forbes
2010-04-13 18:43:25 +12:00
parent 0f3e5659da
commit d8748397d1

View File

@@ -23,10 +23,12 @@ using System.Drawing;
namespace OpenRA.Traits namespace OpenRA.Traits
{ {
class AutoTargetInfo : StatelessTraitInfo<AutoTarget> class AutoTargetInfo : ITraitInfo
{ {
public readonly float ScanTimeAverage = 2f; public readonly float ScanTimeAverage = 2f;
public readonly float ScanTimeSpread = .5f; public readonly float ScanTimeSpread = .5f;
public object Create(Actor self) { return new AutoTarget(); }
} }
class AutoTarget : ITick, INotifyDamage class AutoTarget : ITick, INotifyDamage