Exemplo n.º 1
0
        internal static BlockDataWorld GetClearedWorld(int width, int height, Foreground.Id borderBlock)
        {
            var world = new BlockDataWorld(width, height);

            WorldUtils.DrawBorder(world, new BlockData <ForegroundBlock>(new ForegroundBlock(borderBlock)));
            return(world);
        }