KeyTrigger Key Property Delta Engine Documentation

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

public Key Key { get; }

Property Value

Type: Key
Remarks

Tests: DeltaEngine.Input.Tests.KeyTriggerTests
Examples

1 unit tests call DeltaEngine.Input.KeyTrigger.Key
[Test]
public void PressCursorKeysToShowCircles()
{
    var centers = new[]
    {
        new Vector2D(0.5f, 0.4f), new Vector2D(0.5f, 0.6f), new Vector2D(0.3f, 0.6f),
        new Vector2D(0.7f, 0.6f)
    };
    var size = new Size(0.1f, 0.1f);
    CreateFontTexts(centers, size);
    AddCirclesAndInputCommands(centers, size);
}
See Also