ControllerTests RotateClockwise 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 RotateClockwise()
Examples

[Test, CloseAfterFirstFrame]
public void RotateClockwise()
{
    Assert.IsFalse(sounds.BlockMoved.IsAnyInstancePlaying);
    controller.FallingBlock = new Block(displayMode, content, new Vector2D(8, 1));
    controller.RotateBlockAntiClockwiseIfPossible();
    Assert.IsTrue(sounds.BlockMoved.IsAnyInstancePlaying);
    controller.FallingBlock.Left = 11;
    controller.RotateBlockAntiClockwiseIfPossible();
}
See Also