BrickTests TopLeft 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 TopLeft()
Examples

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