ButtonTests ShowClickableButton Method Delta Engine Documentation

Namespace: FindTheWord.Tests
Assembly: FindTheWord.Tests (in FindTheWord.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void ShowClickableButton()
Examples

[Test]
public void ShowClickableButton()
{
    var button = new GameButton("Wurm1", new Rectangle(0, 0, 0.5f, 0.5f));
    button.Clicked += () => button.Alpha = button.Alpha == 1.0f ? 0.5f : 1.0f;
}
See Also