Esempio n. 1
0
        private void SpawnFirst()
        {
            Pattern patt = new Pattern(this, patterns.Count + 1, true);

            fallingPattern = patt;
            patterns.Add(patt);
            patt.paintPattern();
            nextPattern = new Pattern(this, patterns.Count + 1, true);
            nextPattern.PaintDisplay();
        }
Esempio n. 2
0
        private void SpawnNext()
        {
            this.nextBlock.Children.Clear();
            fallingPattern = nextPattern;
            patterns.Add(fallingPattern);
            fallingPattern.paintPattern();
            Pattern patt = new Pattern(this, patterns.Count + 1, true);

            nextPattern = patt;
            nextPattern.PaintDisplay();
        }