Move objectives interfaces to Mods.Common.
This commit is contained in:
committed by
Oliver Brakmann
parent
3f72076e1a
commit
1de767d9bf
@@ -346,21 +346,6 @@ namespace OpenRA.Traits
|
|||||||
IEnumerable<WPos> TargetablePositions(Actor self);
|
IEnumerable<WPos> 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 IGameOver { void GameOver(World world); }
|
||||||
|
|
||||||
public interface IWarhead
|
public interface IWarhead
|
||||||
|
|||||||
@@ -327,4 +327,19 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
}
|
}
|
||||||
|
|
||||||
public interface IRadarColorModifier { Color RadarColorOverride(Actor self, Color color); }
|
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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user