TouchPositionTrigger State Property Delta Engine Documentation

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

public State State { get; }

Property Value

Type: State
Remarks

Tests: DeltaEngine.Input.Tests.TouchPositionTriggerTests
Examples

2 unit tests call DeltaEngine.Input.TouchPositionTrigger.State
[Test, CloseAfterFirstFrame]
public void Create()
{
    var trigger = new TouchPositionTrigger(State.Pressed);
    Assert.AreEqual(State.Pressed, trigger.State);
}
[Test]
public void TouchPositionTriggerState()
{
    var trigger = new TouchPositionTrigger(new Dictionary<string, string>());
    Assert.AreEqual(State.Pressing, trigger.State);
}
See Also