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(); }
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(); }