Level ClassDelta Engine Documentation
All the bricks for each level are initialized and updated here. View code on GitHub
Inheritance Hierarchy

System Object
  Breakout Level
    Breakout.Tests EmptyLevel

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

public class Level : IDisposable

The Level type exposes the following members.

Constructors

  NameDescription
Public methodLevel
Initializes a new instance of the Level class
Top
Methods

  NameDescription
Public methodDispose
Releases all resources used by the Level
Public methodExplode
Public methodGetBrickAt
Public methodInitializeNextLevel
Public methodLifeLost
Top
Fields

  NameDescription
Protected fieldbricks
Protected fieldcolumns
Protected fieldrows
Top
Properties

  NameDescription
Public propertyBricksLeft
Top
Remarks

Tests: Breakout.Tests.LevelTests
Examples

13 unit tests call Breakout.Level
[Test]
public void Draw()
{
    Resolve<Level>();
}
[Test]
public void ForceResolutionChange()
{
    Resolve<Level>();
    Resolve<Window>().ViewportPixelSize = new Size(400, 600);
}
[Test]
public void DrawLevelTwo()
{
    var level = Resolve<Level>();
    level.InitializeNextLevel();
}
See Also