UserInterface Score Property Delta Engine Documentation

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

public int Score { get; set; }

Property Value

Type: Int32
Remarks

Tests: Blocks.Tests.UserInterfaceTests
Examples

1 unit tests call Blocks.UserInterface.Score
[Test, CloseAfterFirstFrame]
public void OnLoseScoreShouldBeZero()
{
    userInterface.Lose();
    Assert.AreEqual(0, userInterface.Score);
}
See Also