From 1de767d9bf8f4da2caa8c0f66c751116fe7d973f Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Thu, 7 Sep 2017 20:41:08 +0100 Subject: [PATCH] Move objectives interfaces to Mods.Common. --- OpenRA.Game/Traits/TraitsInterfaces.cs | 15 --------------- OpenRA.Mods.Common/TraitsInterfaces.cs | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/OpenRA.Game/Traits/TraitsInterfaces.cs b/OpenRA.Game/Traits/TraitsInterfaces.cs index 18f6fe4803..6b3013fe70 100644 --- a/OpenRA.Game/Traits/TraitsInterfaces.cs +++ b/OpenRA.Game/Traits/TraitsInterfaces.cs @@ -346,21 +346,6 @@ namespace OpenRA.Traits IEnumerable TargetablePositions(Actor self); } - public interface IObjectivesPanel - { - string PanelName { get; } - int ExitDelay { get; } - } - - public interface INotifyObjectivesUpdated - { - void OnPlayerWon(Player winner); - void OnPlayerLost(Player loser); - void OnObjectiveAdded(Player player, int objectiveID); - void OnObjectiveCompleted(Player player, int objectiveID); - void OnObjectiveFailed(Player player, int objectiveID); - } - public interface IGameOver { void GameOver(World world); } public interface IWarhead diff --git a/OpenRA.Mods.Common/TraitsInterfaces.cs b/OpenRA.Mods.Common/TraitsInterfaces.cs index 30009d8907..988457bece 100644 --- a/OpenRA.Mods.Common/TraitsInterfaces.cs +++ b/OpenRA.Mods.Common/TraitsInterfaces.cs @@ -327,4 +327,19 @@ namespace OpenRA.Mods.Common.Traits } public interface IRadarColorModifier { Color RadarColorOverride(Actor self, Color color); } + + public interface IObjectivesPanel + { + string PanelName { get; } + int ExitDelay { get; } + } + + public interface INotifyObjectivesUpdated + { + void OnPlayerWon(Player winner); + void OnPlayerLost(Player loser); + void OnObjectiveAdded(Player player, int objectiveID); + void OnObjectiveCompleted(Player player, int objectiveID); + void OnObjectiveFailed(Player player, int objectiveID); + } }