first commit
This commit is contained in:
23
trunk/src/Icarus/Input/MovementEvents/MouseMovementEvent.cs
Normal file
23
trunk/src/Icarus/Input/MovementEvents/MouseMovementEvent.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user