using System;
using System.Collections.Generic;

namespace TeslaConsole.BattleTech;

/// <summary>A mech was destroyed (<c>MechKilledMessage</c>).</summary>
[Serializable]
internal class BTKilledEvent : BTMissionEvent
{
	public readonly BTPlayer Killer;

	public override IEnumerable<BTPlayer> InvolvedPilots => new BTPlayer[2] { ReportingPilot, Killer };

	public BTKilledEvent(BTPlayer reportingPilot, TimeSpan missionTime, BTPlayer killer)
		: base(reportingPilot, missionTime)
	{
		Killer = killer;
	}

	private BTKilledEvent()
	{
	}
}
