using System;
using System.Collections.Generic;

namespace TeslaConsole.RedPlanet;

[Serializable]
internal class KilledEvent : MissionEvent
{
	public readonly RPPlayer Killer;

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

	public KilledEvent(RPPlayer reportingPilot, TimeSpan missionTime, RPPlayer killer)
		: base(reportingPilot, missionTime)
	{
		Killer = killer;
	}

	private KilledEvent()
	{
	}
}
