ffs, i'm a tard.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user