Ejemplo n.º 1
0
        public static void initialize(ExtrapolateForm parentForm)
        {
            parent = parentForm;

            width  = Generator.width;
            height = Generator.height;

            scaledW = width * scale;
            scaledH = height * scale;

            expandedPoints = Generator.buildPoints();

            sMap = new Tile[scaledW, scaledH];
            for (int i = 0; i < scaledW; i++)
            {
                for (int j = 0; j < scaledH; j++)
                {
                    sMap[i, j] = new Tile(wall: false);
                }
            }

            expandedPoints = spaceAndPlotPoints();
        }
Ejemplo n.º 2
0
        private void extrapolateButton_Click(object sender, EventArgs e)
        {
            ExtrapolateForm extrapolator = new ExtrapolateForm();

            extrapolator.Show();
        }