24 lines
674 B
C#
24 lines
674 B
C#
using System;
|
|
|
|
namespace Icarus.Input.MovementEvents {
|
|
|
|
/// <summary>
|
|
/// Stores event information for when the mouse is moved.
|
|
/// </summary>
|
|
public class MouseMovementEvent : MovementEvent {
|
|
|
|
/// <summary>
|
|
/// Creates a new MouseMovementEvent.
|
|
/// </summary>
|
|
/// <param name="dx">Change in the x-coordinate.</param>
|
|
/// <param name="dy">Change in the y-coordinate.</param>
|
|
/// <param name="dz">Change in the z-coordinate.</param>
|
|
public MouseMovementEvent(int dx, int dy, int dz) {
|
|
this.DX = dx;
|
|
this.DY = dy;
|
|
this.DZ = dz;
|
|
}
|
|
|
|
}
|
|
}
|