mirror of
https://github.com/0x7c13/Pal3.Unity.git
synced 2026-11-26 17:38:10 +08:00
29 lines
987 B
C#
29 lines
987 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;
|
|
|
|
[AvailableInConsole]
|
|
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; }
|
|
}
|
|
} |