Exemplo n.º 1
0
        public void Apply()
        {
            var pattern = new Pattern(new[] { new PatternEntry(BlockType.Dirt, 1) });
            var tile    = new Tile();

            tile = pattern.Apply(tile);

            Assert.That(BlockType.Dirt.Matches(tile));
        }