Mouse input message for remote input via networking.
View code on GitHub
Inheritance Hierarchy
DeltaEngine.Input MouseMessage
Namespace: DeltaEngine.Input
Assembly: DeltaEngine.Input (in DeltaEngine.Input.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The MouseMessage type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MouseMessage | Initializes a new instance of the MouseMessage class | |
MouseMessage(Vector2D, Int32, MouseButton ) | Initializes a new instance of the MouseMessage class |
Properties
Name | Description | |
---|---|---|
Position | ||
PressedButtons | ||
ScrollWheel |
Remarks
Examples
[Test] public void VerifyMouseMessagePropertiesAreSet() { Assert.AreEqual(Vector2D.Half, mouseMessage.Position); Assert.AreEqual(0, mouseMessage.ScrollWheel); Assert.AreEqual(new[] { MouseButton.Left }, mouseMessage.PressedButtons); }
See Also