MapTests TreasureAddsOneToScore Method Delta Engine Documentation

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

public void TreasureAddsOneToScore()
Examples

[Test, CloseAfterFirstFrame]
public void TreasureAddsOneToScore()
{
    map.AddToScore("treasure");
    Assert.AreEqual(1, map.score);
    Assert.AreEqual("Score: 1", map.scoreText.Text);
}
See Also