Require explicit INotifySelected and INotifySelection
This commit is contained in:
@@ -301,8 +301,11 @@ namespace OpenRA.Traits
|
||||
[SuppressMessage("StyleCop.CSharp.NamingRules", "SA1302:InterfaceNamesMustBeginWithI", Justification = "Not a real interface, but more like a tag.")]
|
||||
public interface UsesInit<T> : ITraitInfo where T : IActorInit { }
|
||||
|
||||
[RequireExplicitImplementation]
|
||||
public interface INotifySelected { void Selected(Actor self); }
|
||||
[RequireExplicitImplementation]
|
||||
public interface INotifySelection { void SelectionChanged(); }
|
||||
|
||||
public interface IWorldLoaded { void WorldLoaded(World w, WorldRenderer wr); }
|
||||
public interface ICreatePlayers { void CreatePlayers(World w); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user