Files
Pal3.Unity/Assets/Scripts/Pal3/Command/InternalCommands/PlayerActorClimbObjectCommand.cs
T
Jackie Liu 56cec16a17 Update license information
Update license information
2022-02-27 17:52:29 -08:00

28 lines
962 B
C#

// ---------------------------------------------------------------------------------------------
// Copyright (c) 2021-2022, Jiaqi Liu. All rights reserved.
// See LICENSE file in the project root for license information.
// ---------------------------------------------------------------------------------------------
namespace Pal3.Command.InternalCommands
{
using UnityEngine;
public class PlayerActorClimbObjectCommand : ICommand
{
public PlayerActorClimbObjectCommand(int objectId,
Vector2Int fromPosition,
Vector2Int toPosition,
bool crossLayer)
{
ObjectId = objectId;
FromPosition = fromPosition;
ToPosition = toPosition;
CrossLayer = crossLayer;
}
public int ObjectId { get; }
public Vector2Int FromPosition { get; }
public Vector2Int ToPosition { get; }
public bool CrossLayer { get; }
}
}