Replace ITraitInfo interface with TraitInfo class.
This commit is contained in:
@@ -16,9 +16,9 @@ using OpenRA.Traits;
|
||||
namespace OpenRA.Mods.D2k.Traits
|
||||
{
|
||||
[Desc("A player with this trait will receive a free harvester when his last one gets eaten by a sandworm, provided he has at least one refinery.")]
|
||||
public class HarvesterInsuranceInfo : ITraitInfo
|
||||
public class HarvesterInsuranceInfo : TraitInfo
|
||||
{
|
||||
public object Create(ActorInitializer init) { return new HarvesterInsurance(init.Self); }
|
||||
public override object Create(ActorInitializer init) { return new HarvesterInsurance(init.Self); }
|
||||
}
|
||||
|
||||
public class HarvesterInsurance
|
||||
|
||||
Reference in New Issue
Block a user