// // WalkCommand.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. namespace NosSmooth.Core.Commands; /// /// Command that moves the player to the specified target position. /// May be used only in world. /// /// The x coordinate of the target position to move to. /// The y coordinate of the target position to move to. /// Whether to cancel the walk when the user clicks to move somewhere. public record WalkCommand(ushort TargetX, ushort TargetY, bool CancelOnUserMove = true) : ICommand;