diff --git a/OpenRA.Game/Traits/TraitsInterfaces.cs b/OpenRA.Game/Traits/TraitsInterfaces.cs index 6b3013fe70..d8669e748a 100644 --- a/OpenRA.Game/Traits/TraitsInterfaces.cs +++ b/OpenRA.Game/Traits/TraitsInterfaces.cs @@ -135,8 +135,6 @@ namespace OpenRA.Traits public interface INotifyOwnerChanged { void OnOwnerChanged(Actor self, Player oldOwner, Player newOwner); } public interface INotifyEffectiveOwnerChanged { void OnEffectiveOwnerChanged(Actor self, Player oldEffectiveOwner, Player newEffectiveOwner); } - public interface ISeedableResource { void Seed(Actor self); } - public interface ISelectionDecorationsInfo : ITraitInfoInterface { int[] SelectionBoxBounds { get; } diff --git a/OpenRA.Mods.Common/TraitsInterfaces.cs b/OpenRA.Mods.Common/TraitsInterfaces.cs index 988457bece..7356fb16cc 100644 --- a/OpenRA.Mods.Common/TraitsInterfaces.cs +++ b/OpenRA.Mods.Common/TraitsInterfaces.cs @@ -104,6 +104,8 @@ namespace OpenRA.Mods.Common.Traits public interface IExplodeModifier { bool ShouldExplode(Actor self); } public interface IHuskModifier { string HuskActor(Actor self); } + public interface ISeedableResource { void Seed(Actor self); } + [RequireExplicitImplementation] public interface INotifyInfiltrated { void Infiltrated(Actor self, Actor infiltrator); }