Use Action<bool> for objective delegate type

This commit is contained in:
Scott_NZ
2013-02-02 20:44:05 +13:00
parent 7594c4eab2
commit b3fbafad59
6 changed files with 11 additions and 9 deletions

View File

@@ -25,7 +25,7 @@ namespace OpenRA.Mods.RA.Missions
class Allies04Script : IHasObjectives, IWorldLoaded, ITick
{
public event ObjectivesUpdatedEventHandler OnObjectivesUpdated = notify => { };
public event Action<bool> OnObjectivesUpdated = notify => { };
public IEnumerable<Objective> Objectives { get { return objectives.Values; } }