Replace ITraitInfo interface with TraitInfo class.
This commit is contained in:
@@ -15,9 +15,9 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Common.Traits
|
||||
{
|
||||
public class CarryableHarvesterInfo : ITraitInfo
|
||||
public class CarryableHarvesterInfo : TraitInfo
|
||||
{
|
||||
public object Create(ActorInitializer init) { return new CarryableHarvester(); }
|
||||
public override object Create(ActorInitializer init) { return new CarryableHarvester(); }
|
||||
}
|
||||
|
||||
public class CarryableHarvester : INotifyCreated, INotifyHarvesterAction
|
||||
|
||||
Reference in New Issue
Block a user