//
// EntityMovedEvent.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.Entities;
using NosSmooth.Game.Data.Info;
namespace NosSmooth.Game.Events.Entities;
///
/// An entity has moved.
///
/// The entity.
/// The previous position of the entity.
/// The new position of the entity.
public record EntityMovedEvent
(
IEntity Entity,
Position? OldPosition,
Position NewPosition
) : IGameEvent;