using System;
namespace TrueCraft.Client.Input
{
///
/// Provides the event data for mouse scroll events.
///
public class MouseScrollEventArgs : MouseEventArgs
{
///
/// Gets the scroll value for the event.
///
public int Value { get; private set; }
///
/// Gets the scroll value delta for the event.
///
public int DeltaValue { get; private set; }
///
/// Creates new mouse scroll event data.
///
/// The X coordinate for the event.
/// The Y coordinate for the event.
/// The scroll value for the event.
/// The scroll value delta for the event.
public MouseScrollEventArgs(int x, int y, int value, int deltaValue)
: base(x, y)
{
Value = value;
DeltaValue = deltaValue;
}
}
}