GridTests RowsSplit 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 RowsSplit()
Examples

[Test, Ignore]
public void RowsSplit()
{
    content.DoBricksSplitInHalfWhenRowFull = true;
    Assert.AreEqual(0,
        AffixBlocks(grid, new[] { new Vector2D(0, 18), new Vector2D(4, 18), new Vector2D(7, 18) }));
    //using (NUnit.Framework.Randomizer.Use(new FixedRandom(IBlock))) 
    //{
        Assert.AreEqual(1, grid.AffixBlock(new Block(displayMode, content, new Vector2D(11, 15))));
        AdvanceTimeAndUpdateEntities();
        //Assert.AreEqual(42, entitySystem.GetHandler<Render>().NumberOfActiveRenderableObjects); 
    //}
See Also