Control Click Method Delta Engine Documentation

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

public virtual void Click()
Remarks

Tests: FindTheWord.Tests.CharacterButtonTests
Examples

1 unit tests call DeltaEngine.Scenes.Controls.Control.Click
[Test]
public void NotClickableWhenLetterRemoved()
{
    var characterButton = new CharacterButton(0.5f, 0.5f, null);
    characterButton.Letter = 'S';
    characterButton.RemoveLetter();
    Assert.IsFalse(characterButton.IsClickable());
}
See Also