Replace .WithInterface<T>().Any() => .HasTraitInfo<T>()
This commit is contained in:
@@ -279,7 +279,7 @@ namespace OpenRA.Traits
|
||||
[SuppressMessage("StyleCop.CSharp.NamingRules", "SA1302:InterfaceNamesMustBeginWithI", Justification = "Not a real interface, but more like a tag.")]
|
||||
public interface Requires<T> where T : class, ITraitInfo { }
|
||||
[SuppressMessage("StyleCop.CSharp.NamingRules", "SA1302:InterfaceNamesMustBeginWithI", Justification = "Not a real interface, but more like a tag.")]
|
||||
public interface UsesInit<T> where T : IActorInit { }
|
||||
public interface UsesInit<T> : ITraitInfo where T : IActorInit { }
|
||||
|
||||
public interface INotifySelected { void Selected(Actor self); }
|
||||
public interface INotifySelection { void SelectionChanged(); }
|
||||
|
||||
Reference in New Issue
Block a user