Namespace: Breakout
Assembly: Breakout (in Breakout.exe) Version: 1.1.1.0 (1.1.1)
Tests: Breakout.Tests.LevelTests
1 unit tests call Breakout.Level.LifeLost
Assembly: Breakout (in Breakout.exe) Version: 1.1.1.0 (1.1.1)
Syntax
Remarks
Examples
[Test, CloseAfterFirstFrame] public void LifeLostLeadsToGameOver() { bool lost = false; var score = new Score(); score.GameOver += () => lost = true; var level = new Level(score); level.LifeLost(); level.LifeLost(); level.LifeLost(); Assert.True(lost); }
See Also