Move objectives interfaces to Mods.Common.

This commit is contained in:
Paul Chote
2017-09-07 20:41:08 +01:00
committed by Oliver Brakmann
parent 3f72076e1a
commit 1de767d9bf
2 changed files with 15 additions and 15 deletions

View File

@@ -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);
}
}