CharacterButton ToString Method Delta Engine Documentation

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

public override string ToString()

Return Value

Type: String
Remarks

Tests: FindTheWord.Tests.CharacterButtonTests
Examples

1 unit tests call FindTheWord.CharacterButton.ToString
[Test]
public void SettingCharactersSetsState()
{
    var characterButton = new CharacterButton(0.5f, 0.5f, null);
    characterButton.Letter = 'S';
    characterButton.ShowLetter();
    Assert.IsTrue(characterButton.IsClickable());
    Assert.AreEqual("CharacterButton(0 - S)", characterButton.ToString());
}
See Also