using System;
using System.Collections.Generic;

namespace TeslaConsole.BattleTech;

/// <summary>A pilot's running score changed (<c>MechScoreUpdateMessage</c>).</summary>
[Serializable]
internal class BTScoreUpdateEvent : BTMissionEvent
{
	public readonly int Score;

	public override IEnumerable<BTPlayer> InvolvedPilots => new BTPlayer[1] { ReportingPilot };

	public BTScoreUpdateEvent(BTPlayer reportingPilot, TimeSpan missionTime, int score)
		: base(reportingPilot, missionTime)
	{
		Score = score;
	}

	private BTScoreUpdateEvent()
	{
	}
}
