no more stateless garbage

This commit is contained in:
Chris Forbes
2010-04-13 18:46:49 +12:00
parent d8748397d1
commit e224c64ccc
45 changed files with 46 additions and 53 deletions

View File

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