using JetBrains.Annotations;
using Robust.Shared.GameObjects;
using Robust.Shared.Map;
namespace Content.Shared.Throwing
{
///
/// Raised when an entity that was thrown lands.
///
[PublicAPI]
public sealed class LandEvent : EntityEventArgs
{
///
/// Entity that threw the item.
///
public IEntity? User { get; }
///
/// Item that was thrown.
///
public IEntity Thrown { get; }
///
/// Location where the item landed.
///
public EntityCoordinates LandLocation { get; }
public LandEvent(IEntity? user, IEntity thrown, EntityCoordinates landLocation)
{
User = user;
Thrown = thrown;
LandLocation = landLocation;
}
}
}