//
// EntityDiedEvent.cs
//
// Copyright (c) František Boháček. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using NosSmooth.Game.Data.Characters;
using NosSmooth.Game.Data.Entities;
namespace NosSmooth.Game.Events.Entities;
///
/// An entity has died.
///
///
/// Is not emitted for the character, see .
/// TODO figure CharacterDiedEvent out.
///
/// The entity that has died.
/// The skill that was used to kill the entity, if known.
public record EntityDiedEvent(ILivingEntity Entity, Skill? KillSkill) : IGameEvent;