//
// WalkEventArgs.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 System.ComponentModel;
namespace NosSmooth.LocalBinding.EventArgs;
///
/// Event args for walk functions.
///
public class WalkEventArgs : CancelEventArgs
{
///
/// Gets the x coordinate to walk to.
///
public ushort X { get; }
///
/// Gets the y coordinate to walk to.
///
public ushort Y { get; }
///
/// Initializes a new instance of the class.
///
/// The x coordinate to walk to.
/// The y coordinate to walk to.
public WalkEventArgs(ushort x, ushort y)
{
X = x;
Y = y;
}
}