ChunkTests DrawChunkAtRandomLocation Method Delta Engine Documentation

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

public void DrawChunkAtRandomLocation()
Examples

[Test]
public void DrawChunkAtRandomLocation()
{
    Resolve<Window>().ViewportPixelSize = new Size(800, 600);
    var smallChunk = new Chunk(gridSize, blockSize, Color.Purple);
    smallChunk.SpawnAtRandomLocation();
}
See Also