TouchMessage ClassDelta Engine Documentation
Touch input message for remote input via networking. View code on GitHub
Inheritance Hierarchy

System Object
  DeltaEngine.Input TouchMessage

Namespace: DeltaEngine.Input
Assembly: DeltaEngine.Input (in DeltaEngine.Input.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public class TouchMessage

The TouchMessage type exposes the following members.

Constructors

  NameDescription
Public methodTouchMessage
Initializes a new instance of the TouchMessage class
Top
Fields

  NameDescription
Public fieldStatic memberMaxNumberOfTouches
Top
Properties

  NameDescription
Public propertyPositions
Public propertyPressedTouches
Top
Remarks

Tests: DeltaEngine.Input.Tests.TouchMessageTests
Examples

1 unit tests call DeltaEngine.Input.TouchMessage
[Test]
public void VerifyTouchMessagePropertiesAreSet()
{
    Assert.AreEqual(new []{Vector2D.Half}, touchMessage.Positions);
    Assert.AreEqual(new []{true}, touchMessage.PressedTouches);
}
See Also