BrickTests Constructor Method Delta Engine Documentation

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

public void Constructor()
Examples

[Test, CloseAfterFirstFrame]
public void Constructor()
{
    var brick = new Brick(material, Vector2D.Half, displayMode);
    Assert.AreEqual(Vector2D.Half, brick.Offset);
}
See Also