Files
Pal3.Unity/Assets/Scripts/Pal3/Command/InternalCommands/PlayerActorTilePositionUpdatedNotification.cs
T
2023-01-03 19:03:54 -08:00

23 lines
847 B
C#

// ---------------------------------------------------------------------------------------------
// Copyright (c) 2021-2023, Jiaqi Liu. All rights reserved.
// See LICENSE file in the project root for license information.
// ---------------------------------------------------------------------------------------------
namespace Pal3.Command.InternalCommands
{
using UnityEngine;
public class PlayerActorTilePositionUpdatedNotification : ICommand
{
public PlayerActorTilePositionUpdatedNotification(Vector2Int position, int layerIndex, bool movedByScript)
{
Position = position;
LayerIndex = layerIndex;
MovedByScript = movedByScript;
}
public Vector2Int Position { get; }
public int LayerIndex { get; }
public bool MovedByScript { get; }
}
}