~ruther/NosSmooth

baf9dc5f1a7e06aa1dbf70ae851cd1f9b375e883 — František Boháček 3 years ago 71426c0
feat: add moved event
1 files changed, 18 insertions(+), 0 deletions(-)

A Core/NosSmooth.Game/Events/Entities/MovedEvent.cs
A Core/NosSmooth.Game/Events/Entities/MovedEvent.cs => Core/NosSmooth.Game/Events/Entities/MovedEvent.cs +18 -0
@@ 0,0 1,18 @@
//
//  MovedEvent.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;

public record MovedEvent
(
    IEntity Entity,
    long EntityId,
    Position? OldPosition,
    Position NewPosition
) : IGameEvent;
\ No newline at end of file

Do not follow this link